diff --git a/lib/drmtest.c b/lib/drmtest.c index f87f034b..486ef67c 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);