[Intel-gfx] [PATCH] lib/igt_core: Don't log when listing subtests
Daniel Vetter
daniel.vetter at ffwll.ch
Fri Jul 11 10:25:23 CEST 2014
I've noticed some spam in the userptr list ...
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
lib/igt_core.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/lib/igt_core.c b/lib/igt_core.c
index bdeeb59971de..856262be34fa 100644
--- a/lib/igt_core.c
+++ b/lib/igt_core.c
@@ -1200,6 +1200,9 @@ void igt_log(enum igt_log_level level, const char *format, ...)
assert(format);
+ if (list_subtests)
+ return;
+
if (igt_log_level > level)
return;
@@ -1229,6 +1232,9 @@ void igt_vlog(enum igt_log_level level, const char *format, va_list args)
{
assert(format);
+ if (list_subtests)
+ return;
+
if (igt_log_level > level)
return;
--
2.0.0
More information about the Intel-gfx
mailing list