[Intel-gfx] [PATCH i-g-t 1/2] tests/testdisplay: Fix test status check fumble
Daniel Vetter
daniel.vetter at ffwll.ch
Wed Oct 29 13:34:49 CET 2014
This is a regression from
4306538d1d3f60877866c39c9ca953cc5e541dae is the first bad commit
commit 4306538d1d3f60877866c39c9ca953cc5e541dae
Author: Daniel Vetter <daniel.vetter at ffwll.ch>
AuthorDate: Thu Oct 2 11:18:20 2014 +0200
Commit: Daniel Vetter <daniel.vetter at ffwll.ch>
CommitDate: Thu Oct 2 11:34:55 2014 +0200
tests: Sprinkle missing igt_exit() where needed.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=85582
Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
---
tests/testdisplay.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/testdisplay.c b/tests/testdisplay.c
index 04e41db8e01a..09e07f0f5336 100644
--- a/tests/testdisplay.c
+++ b/tests/testdisplay.c
@@ -786,7 +786,7 @@ out_mainloop:
out_close:
close(drm_fd);
- igt_assert(ret);
+ igt_assert(ret == 0);
igt_exit();
}
--
2.1.1
More information about the Intel-gfx
mailing list