From 4306538d1d3f60877866c39c9ca953cc5e541dae Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Thu, 2 Oct 2014 11:18:20 +0200 Subject: tests: Sprinkle missing igt_exit() where needed. Yay for breaking piles of tests. This regression has been introduced with commit 5782eca1e19e85a04ad402fa4094aa1b5f9c53ce Author: Tim Gore Date: Wed Oct 1 13:25:20 2014 +0100 lib/igt_core.c: disable lowmemorykiller during tests Cc: Tim Gore Signed-off-by: Daniel Vetter --- tests/testdisplay.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/testdisplay.c') 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(); } -- cgit v1.2.3