summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2015-01-26 16:09:40 +0000
committerThomas Wood <thomas.wood@intel.com>2015-02-09 14:39:41 +0000
commit61737903ad4d4423516a41538d1ce4cf7287da0e (patch)
tree5cce37fde43dbe5b42c6fdef50978c59c5c463e2 /lib
parenta228223ffaf38fa758eea58258cfe745b6cde4b6 (diff)
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 <thomas.wood@intel.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/igt_core.c2
1 files changed, 1 insertions, 1 deletions
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)