lib/drmtest: fixup igt_fail for the list-only case

Oops.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter 2013-08-13 11:40:57 +02:00
parent bd161f8c04
commit c67ebf413a

View File

@ -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);