summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/gem_ctx_bad_destroy.c2
-rw-r--r--tests/gem_ctx_bad_exec.c2
-rw-r--r--tests/gem_ctx_basic.c4
-rw-r--r--tests/gem_ctx_create.c2
-rw-r--r--tests/gem_ctx_exec.c2
-rw-r--r--tests/gem_reg_read.c2
-rw-r--r--tests/sysfs_rc6_residency.c4
-rw-r--r--tests/sysfs_rps.c2
8 files changed, 10 insertions, 10 deletions
diff --git a/tests/gem_ctx_bad_destroy.c b/tests/gem_ctx_bad_destroy.c
index ed1474a7..5e56d5a8 100644
--- a/tests/gem_ctx_bad_destroy.c
+++ b/tests/gem_ctx_bad_destroy.c
@@ -107,5 +107,5 @@ int main(int argc, char *argv[])
close(fd);
- exit(EXIT_SUCCESS);
+ igt_success();
}
diff --git a/tests/gem_ctx_bad_exec.c b/tests/gem_ctx_bad_exec.c
index 22a3b8ab..55917981 100644
--- a/tests/gem_ctx_bad_exec.c
+++ b/tests/gem_ctx_bad_exec.c
@@ -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();
}
diff --git a/tests/gem_ctx_basic.c b/tests/gem_ctx_basic.c
index 0926e973..330eaec9 100644
--- a/tests/gem_ctx_basic.c
+++ b/tests/gem_ctx_basic.c
@@ -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();
}
diff --git a/tests/gem_ctx_create.c b/tests/gem_ctx_create.c
index 66bbe57d..5440ae07 100644
--- a/tests/gem_ctx_create.c
+++ b/tests/gem_ctx_create.c
@@ -62,5 +62,5 @@ int main(int argc, char *argv[])
close(fd);
- exit(EXIT_SUCCESS);
+ igt_success();
}
diff --git a/tests/gem_ctx_exec.c b/tests/gem_ctx_exec.c
index 15c87b03..c2021bf9 100644
--- a/tests/gem_ctx_exec.c
+++ b/tests/gem_ctx_exec.c
@@ -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();
}
diff --git a/tests/gem_reg_read.c b/tests/gem_reg_read.c
index 1e36aa43..44f91351 100644
--- a/tests/gem_reg_read.c
+++ b/tests/gem_reg_read.c
@@ -87,5 +87,5 @@ int main(int argc, char *argv[])
EINVAL, "bad register");
close(fd);
- exit(EXIT_SUCCESS);
+ igt_success();
}
diff --git a/tests/sysfs_rc6_residency.c b/tests/sysfs_rc6_residency.c
index bb5d2110..13f00ad1 100644
--- a/tests/sysfs_rc6_residency.c
+++ b/tests/sysfs_rc6_residency.c
@@ -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();
}
diff --git a/tests/sysfs_rps.c b/tests/sysfs_rps.c
index 59a2e92c..9c1d60c1 100644
--- a/tests/sysfs_rps.c
+++ b/tests/sysfs_rps.c
@@ -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();
}