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>
This commit is contained in:
Thomas Wood 2015-01-26 16:09:40 +00:00
parent a228223ffa
commit 61737903ad

View File

@ -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)