[PATCH i-g-t 2/3] lib: print warning and critical messages when listing subtests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



These messages are sent to stderr and could indicate an issue when
enumerating subtests.

Signed-off-by: Thomas Wood <thomas.wood@xxxxxxxxx>
---
 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 2692fe4..bc588e2 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)
-- 
2.1.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux