mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 00:00:28 +01:00
test: abort on libinput bugs again
This was always intended but a bug prevented the actual abort.
strstr returns NULL when we cannot find the substring so we always
triggered the first noop condition on bugs.
Fixes: bd7b91065b ("evdev: warn if our event processing lags by 10ms or more")
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1048>
This commit is contained in:
parent
596d86ecc1
commit
27e3897420
1 changed files with 2 additions and 2 deletions
|
|
@ -733,9 +733,9 @@ litest_log_handler(struct libinput *libinput,
|
|||
* short, don't abort if during a valgrind run we get a
|
||||
* negative offset */
|
||||
if ((RUNNING_ON_VALGRIND && in_debugger) ||
|
||||
!strstr(format, "scheduled expiry is in the past")) {
|
||||
strstr(format, "scheduled expiry is in the past")) {
|
||||
/* noop */
|
||||
} else if (!strstr(format, "event processing lagging behind")) {
|
||||
} else if (strstr(format, "event processing lagging behind")) {
|
||||
/* noop */
|
||||
} else {
|
||||
litest_abort_msg("libinput bug triggered, aborting.\n");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue