summaryrefslogtreecommitdiff
path: root/tests/gem_ctx_exec.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-13 12:51:35 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-13 15:07:44 +0200
commitb30d95f33ca9c7c2cd3ef9e3e23ea965ee784a8a (patch)
treef4c1b96426ef72b4e91c178be80177a641a4acb4 /tests/gem_ctx_exec.c
parentc9d037828130a97f5952164fba06007b056dfb4b (diff)
tests: s/exit(77)/igt_skip()/
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/gem_ctx_exec.c')
-rw-r--r--tests/gem_ctx_exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_ctx_exec.c b/tests/gem_ctx_exec.c
index c2021bf9..2d1a7deb 100644
--- a/tests/gem_ctx_exec.c
+++ b/tests/gem_ctx_exec.c
@@ -65,7 +65,7 @@ static uint32_t context_create(int fd)
ret = drmIoctl(fd, CONTEXT_CREATE_IOCTL, &create);
if (ret == -1 && (errno == ENODEV || errno == EINVAL))
- exit(77);
+ igt_skip();
else if (ret)
abort();