From: Daniel Vetter Date: Tue, 13 Aug 2013 09:40:57 +0000 (+0200) Subject: lib/drmtest: fixup igt_fail for the list-only case X-Git-Tag: intel-gpu-tools-1.4~243 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c67ebf413a45dd225049b14562fd76d2bbc444e2;p=profile%2Fextras%2Fintel-gpu-tools.git lib/drmtest: fixup igt_fail for the list-only case Oops. Signed-off-by: Daniel Vetter --- 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);