tests: s/exit(77)/igt_skip()/

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter
2013-08-13 12:51:35 +02:00
parent c9d0378281
commit b30d95f33c
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -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);