mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-03 20:30:27 +01:00
test: only check error messages for bugs
The use of the bug log handler should be replaced with the captured logs now but meanwhile: don't abort if we're running in --verbose mode and something prints a debug message before our expected bug error message. Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1250>
This commit is contained in:
parent
d9a949657e
commit
2e0c3c4af4
1 changed files with 2 additions and 1 deletions
|
|
@ -2167,7 +2167,8 @@ litest_bug_log_handler(struct libinput *libinput,
|
|||
const char *format,
|
||||
va_list args)
|
||||
{
|
||||
if (strstr(format, "client bug: ") ||
|
||||
if (pri != LIBINPUT_LOG_PRIORITY_ERROR ||
|
||||
strstr(format, "client bug: ") ||
|
||||
strstr(format, "libinput bug: ") ||
|
||||
strstr(format, "kernel bug: "))
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue