mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-03 13:30:27 +01:00
test: fix the valgrind/debugger check
First condition was always false since we never run gdb and valgrind at
the same time.
Fixes: bd7b91065b ("evdev: warn if our event processing lags by 10ms or more")
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1221>
This commit is contained in:
parent
24c84a65b4
commit
ef15d7ed08
1 changed files with 1 additions and 1 deletions
|
|
@ -1323,7 +1323,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 && in_debugger) ||
|
||||
if ((RUNNING_ON_VALGRIND || in_debugger) &&
|
||||
strstr(format, "scheduled expiry is in the past")) {
|
||||
/* noop */
|
||||
} else if (strstr(format, "event processing lagging behind")) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue