mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-08 11:19:14 +02:00
test: re-enable the abort-on-bug log handler
This was accidentally disabled in 6953b51b7e. We want to fail
when a bug is exposed.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
79570fd492
commit
252869c949
1 changed files with 0 additions and 2 deletions
|
|
@ -780,11 +780,9 @@ litest_log_handler(struct libinput *libinput,
|
||||||
fprintf(stderr, "litest %s: ", priority);
|
fprintf(stderr, "litest %s: ", priority);
|
||||||
vfprintf(stderr, format, args);
|
vfprintf(stderr, format, args);
|
||||||
|
|
||||||
#if 0
|
|
||||||
if (strstr(format, "client bug: ") ||
|
if (strstr(format, "client bug: ") ||
|
||||||
strstr(format, "libinput bug: "))
|
strstr(format, "libinput bug: "))
|
||||||
litest_abort_msg("libinput bug triggered, aborting.\n");
|
litest_abort_msg("libinput bug triggered, aborting.\n");
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue