I've noticed some spam in the userptr list ...

Signed-off-by: Daniel Vetter <daniel.vet...@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

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

Reply via email to