summaryrefslogtreecommitdiff
path: root/tests/gem_seqno_wrap.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-19 10:47:53 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-19 10:47:53 +0200
commit23eee394893541fa531543e8fb4b12610599817c (patch)
tree78afa3333e549e3605de4c621ef42357018de714 /tests/gem_seqno_wrap.c
parent5951ffb6a042037b74f7123d599b6a4f907ecff0 (diff)
tests: roll out igt_require some more
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/gem_seqno_wrap.c')
-rw-r--r--tests/gem_seqno_wrap.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/gem_seqno_wrap.c b/tests/gem_seqno_wrap.c
index 7549eb63..0f7e52bb 100644
--- a/tests/gem_seqno_wrap.c
+++ b/tests/gem_seqno_wrap.c
@@ -367,12 +367,7 @@ static int dfs_open(int mode)
dfs_base, card_index, dfs_entry);
fh = open(fname, mode);
- if (fh == -1) {
- fprintf(stderr,
- "error %d opening '%s/%d/%s'. too old kernel?\n",
- errno, dfs_base, card_index, dfs_entry);
- igt_skip();
- }
+ igt_require(fh >= 0);
return fh;
}