summaryrefslogtreecommitdiff
path: root/tests/testdisplay.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-10-02 11:18:20 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-10-02 11:18:20 +0200
commit1759cd152bf40308995223e92d5e50d839c5f3c0 (patch)
tree6d2ae68e1bc872bf43f5eb81938a8491fc796846 /tests/testdisplay.c
parent5782eca1e19e85a04ad402fa4094aa1b5f9c53ce (diff)
tests: Sprinkle missing igt_exit() where needed.prts
Yay for breaking piles of tests. Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
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();
}