From c67ebf413a45dd225049b14562fd76d2bbc444e2 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Tue, 13 Aug 2013 11:40:57 +0200 Subject: [PATCH] lib/drmtest: fixup igt_fail for the list-only case Oops. Signed-off-by: Daniel Vetter --- lib/drmtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/drmtest.c b/lib/drmtest.c index f87f034..486ef67 100644 --- a/lib/drmtest.c +++ b/lib/drmtest.c @@ -794,7 +794,7 @@ void igt_fail(int exitcode) void igt_exit(void) { if (igt_only_list_subtests()) - return 0; + return; /* Calling this without calling one of the above is a failure */ assert(skipped_one || succeeded_one || failed_one); -- 2.7.4