Commit c9d03782 authored by Daniel Vetter's avatar Daniel Vetter

tests: s/exit(EXIT_SUCCESS)/igt_success()/

Signed-off-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent a4cb8954
......@@ -107,5 +107,5 @@ int main(int argc, char *argv[])
close(fd);
exit(EXIT_SUCCESS);
igt_success();
}
......@@ -126,5 +126,5 @@ int main(int argc, char *argv[])
igt_subtest("blt")
igt_assert(exec(fd, handle, I915_EXEC_BLT, ctx_id) != 0);
exit(EXIT_SUCCESS);
igt_success();
}
......@@ -130,7 +130,7 @@ static void parse(int argc, char *argv[])
case 'h':
case '?':
default:
exit(EXIT_SUCCESS);
igt_success();
break;
}
}
......@@ -169,5 +169,5 @@ int main(int argc, char *argv[])
free(threads);
close(fd);
exit(EXIT_SUCCESS);
igt_success();
}
......@@ -62,5 +62,5 @@ int main(int argc, char *argv[])
close(fd);
exit(EXIT_SUCCESS);
igt_success();
}
......@@ -138,5 +138,5 @@ int main(int argc, char *argv[])
igt_assert(exec(fd, handle, I915_EXEC_RENDER, ctx_id) < 0);
exit(EXIT_SUCCESS);
igt_success();
}
......@@ -87,5 +87,5 @@ int main(int argc, char *argv[])
EINVAL, "bad register");
close(fd);
exit(EXIT_SUCCESS);
igt_success();
}
......@@ -84,7 +84,7 @@ int main(int argc, char *argv[])
/* claim success if no rc6 enabled. */
if (readit(path) == 0)
exit(EXIT_SUCCESS);
igt_success();
ret = asprintf(&path, "/sys/class/drm/card%d/power/rc6_residency_ms", device);
igt_assert(ret != -1);
......@@ -120,5 +120,5 @@ int main(int argc, char *argv[])
igt_fail(1);
}
exit(EXIT_SUCCESS);
igt_success();
}
......@@ -192,5 +192,5 @@ int main(int argc, char *argv[])
writeval(stuff[MIN].filp, origmin);
writeval(stuff[MAX].filp, origmax);
exit(EXIT_SUCCESS);
igt_success();
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment