Commit f542b097 authored by Daniel Vetter's avatar Daniel Vetter

lib/drmtest: Don't spoil stdout when listing tests

Oops.
Signed-off-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 62346580
......@@ -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();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment