mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 01:16:18 +00:00
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:
parent
d3cfe28a1a
commit
bebcb582fc
@ -1220,6 +1220,9 @@ void igt_log(enum igt_log_level level, const char *format, ...)
|
|||||||
|
|
||||||
assert(format);
|
assert(format);
|
||||||
|
|
||||||
|
if (list_subtests)
|
||||||
|
return;
|
||||||
|
|
||||||
if (igt_log_level > level)
|
if (igt_log_level > level)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@ -1249,6 +1252,9 @@ void igt_vlog(enum igt_log_level level, const char *format, va_list args)
|
|||||||
{
|
{
|
||||||
assert(format);
|
assert(format);
|
||||||
|
|
||||||
|
if (list_subtests)
|
||||||
|
return;
|
||||||
|
|
||||||
if (igt_log_level > level)
|
if (igt_log_level > level)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user