diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-08-13 12:51:35 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-08-13 15:07:44 +0200 |
commit | b30d95f33ca9c7c2cd3ef9e3e23ea965ee784a8a (patch) | |
tree | f4c1b96426ef72b4e91c178be80177a641a4acb4 /tests/gem_ctx_create.c | |
parent | c9d037828130a97f5952164fba06007b056dfb4b (diff) | |
download | intel-gpu-tools-b30d95f33ca9c7c2cd3ef9e3e23ea965ee784a8a.tar.gz intel-gpu-tools-b30d95f33ca9c7c2cd3ef9e3e23ea965ee784a8a.tar.bz2 intel-gpu-tools-b30d95f33ca9c7c2cd3ef9e3e23ea965ee784a8a.zip |
tests: s/exit(77)/igt_skip()/
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/gem_ctx_create.c')
-rw-r--r-- | tests/gem_ctx_create.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_ctx_create.c b/tests/gem_ctx_create.c index 5440ae07..f451910f 100644 --- a/tests/gem_ctx_create.c +++ b/tests/gem_ctx_create.c @@ -53,7 +53,7 @@ int main(int argc, char *argv[]) if (ret != 0 && (errno == ENODEV || errno == EINVAL)) { printf("Kernel is too old, or contexts not supported: %s\n", strerror(errno)); - exit(77); + igt_skip(); } else if (ret != 0) { fprintf(stderr, "%s\n", strerror(errno)); igt_fail(1); |