summaryrefslogtreecommitdiff
path: root/tests/gem_ctx_bad_destroy.c
diff options
context:
space:
mode:
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();