diff --git a/test/litest.c b/test/litest.c index 3d60626c..68d6208f 100644 --- a/test/litest.c +++ b/test/litest.c @@ -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;