summaryrefslogtreecommitdiff
path: root/tests/gem_ctx_bad_destroy.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_bad_destroy.c
parentc9d037828130a97f5952164fba06007b056dfb4b (diff)
tests: s/exit(77)/igt_skip()/
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/gem_ctx_bad_destroy.c')
-rw-r--r--tests/gem_ctx_bad_destroy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_ctx_bad_destroy.c b/tests/gem_ctx_bad_destroy.c
index 5e56d5a8..aec27958 100644
--- a/tests/gem_ctx_bad_destroy.c
+++ b/tests/gem_ctx_bad_destroy.c
@@ -54,7 +54,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();