diff --git a/lib/drmtest.c b/lib/drmtest.c index 585ea1b2..f024c587 100644 --- a/lib/drmtest.c +++ b/lib/drmtest.c @@ -771,9 +771,11 @@ void igt_skip(void) void __igt_skip_check(const char *file, const int line, const char *func, const char *check) { - printf("Test requirement not met in function %s, file %s:%i:\n" - "Test requirement: (%s)\n", - func, file, line, check); + if (!igt_only_list_subtests()) { + printf("Test requirement not met in function %s, file %s:%i:\n" + "Test requirement: (%s)\n", + func, file, line, check); + } igt_skip(); }