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:34:55 +0200
commit4306538d1d3f60877866c39c9ca953cc5e541dae (patch)
tree6d2ae68e1bc872bf43f5eb81938a8491fc796846 /tests/testdisplay.c
parent5782eca1e19e85a04ad402fa4094aa1b5f9c53ce (diff)
tests: Sprinkle missing igt_exit() where needed.
Yay for breaking piles of tests. This regression has been introduced with commit 5782eca1e19e85a04ad402fa4094aa1b5f9c53ce Author: Tim Gore <tim.gore@intel.com> Date: Wed Oct 1 13:25:20 2014 +0100 lib/igt_core.c: disable lowmemorykiller during tests Cc: Tim Gore <tim.gore@intel.com> 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();
}