lib/igt_core: Don't log when listing subtests

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

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter 2014-07-11 10:24:30 +02:00
parent d3cfe28a1a
commit bebcb582fc

View File

@ -1220,6 +1220,9 @@ void igt_log(enum igt_log_level level, const char *format, ...)
assert(format);
if (list_subtests)
return;
if (igt_log_level > level)
return;
@ -1249,6 +1252,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;