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

Oops.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter 2013-08-14 13:48:10 +02:00
parent 6234658063
commit f542b0970a

View File

@ -771,9 +771,11 @@ void igt_skip(void)
void __igt_skip_check(const char *file, const int line, void __igt_skip_check(const char *file, const int line,
const char *func, const char *check) const char *func, const char *check)
{ {
printf("Test requirement not met in function %s, file %s:%i:\n" if (!igt_only_list_subtests()) {
"Test requirement: (%s)\n", printf("Test requirement not met in function %s, file %s:%i:\n"
func, file, line, check); "Test requirement: (%s)\n",
func, file, line, check);
}
igt_skip(); igt_skip();
} }