From 61737903ad4d4423516a41538d1ce4cf7287da0e Mon Sep 17 00:00:00 2001 From: Thomas Wood Date: Mon, 26 Jan 2015 16:09:40 +0000 Subject: [PATCH] lib: print warning and critical messages when listing subtests These messages are sent to stderr and could indicate an issue when enumerating subtests. Signed-off-by: Thomas Wood --- lib/igt_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/igt_core.c b/lib/igt_core.c index 2692fe4e..bc588e2c 100644 --- a/lib/igt_core.c +++ b/lib/igt_core.c @@ -1507,7 +1507,7 @@ void igt_vlog(const char *domain, enum igt_log_level level, const char *format, program_name = command_str; #endif - if (list_subtests) + if (list_subtests && level <= IGT_LOG_WARN) return; if (igt_log_level > level)