diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/drmtest.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/drmtest.c b/lib/drmtest.c index 576b4ab1c..f76ef0f3d 100644 --- a/lib/drmtest.c +++ b/lib/drmtest.c @@ -1034,6 +1034,8 @@ void __igt_fail_assert(int exitcode, const char *file, void igt_exit(void) { + igt_exit_called = true; + if (igt_only_list_subtests()) exit(0); @@ -1042,7 +1044,6 @@ void igt_exit(void) /* Calling this without calling one of the above is a failure */ assert(skipped_one || succeeded_one || failed_one); - igt_exit_called = true; if (failed_one) exit(igt_exitcode); |