summaryrefslogtreecommitdiff
path: root/tests/testdisplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdisplay.c')
-rw-r--r--tests/testdisplay.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/testdisplay.c b/tests/testdisplay.c
index a3cba44e..04e41db8 100644
--- a/tests/testdisplay.c
+++ b/tests/testdisplay.c
@@ -786,5 +786,7 @@ out_mainloop:
out_close:
close(drm_fd);
- return ret;
+ igt_assert(ret);
+
+ igt_exit();
}