Commit ea5b764e authored by Peter Hutterer's avatar Peter Hutterer

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's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 9c89ab6d
......@@ -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");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment