mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 11:40:30 +01:00
test: don't make timer offset errors fatal in gdb
No way we can debug without triggering those, so let's not make them fatal. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
9c89ab6d95
commit
ea5b764eb4
1 changed files with 1 additions and 1 deletions
|
|
@ -648,7 +648,7 @@ litest_log_handler(struct libinput *libinput,
|
|||
/* valgrind is too slow and some of our offsets are too
|
||||
* short, don't abort if during a valgrind run we get a
|
||||
* negative offset */
|
||||
if (!RUNNING_ON_VALGRIND ||
|
||||
if ((!RUNNING_ON_VALGRIND && !in_debugger) ||
|
||||
!strstr(format, "offset negative"))
|
||||
litest_abort_msg("libinput bug triggered, aborting.\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue