summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/gem_linear_blits.c3
-rw-r--r--tests/gem_tiled_blits.c3
-rw-r--r--tests/gem_tiled_fence_blits.c3
3 files changed, 3 insertions, 6 deletions
diff --git a/tests/gem_linear_blits.c b/tests/gem_linear_blits.c
index 86c4a638..ec2ba269 100644
--- a/tests/gem_linear_blits.c
+++ b/tests/gem_linear_blits.c
@@ -191,8 +191,7 @@ int main(int argc, char **argv)
if (count > intel_get_total_ram_mb() * 9 / 10) {
count = intel_get_total_ram_mb() * 9 / 10;
- fprintf(stderr, "not enough RAM to run test, reducing buffer count\n");
- return 77;
+ printf("not enough RAM to run test, reducing buffer count\n");
}
printf("Using %d 1MiB buffers\n", count);
diff --git a/tests/gem_tiled_blits.c b/tests/gem_tiled_blits.c
index 635027da..86c9a886 100644
--- a/tests/gem_tiled_blits.c
+++ b/tests/gem_tiled_blits.c
@@ -137,8 +137,7 @@ int main(int argc, char **argv)
if (count > intel_get_total_ram_mb() * 9 / 10) {
count = intel_get_total_ram_mb() * 9 / 10;
- fprintf(stderr, "not enough RAM to run test, reducing buffer count\n");
- return 77;
+ printf("not enough RAM to run test, reducing buffer count\n");
}
printf("Using %d 1MiB buffers\n", count);
diff --git a/tests/gem_tiled_fence_blits.c b/tests/gem_tiled_fence_blits.c
index 9cc8e046..dc654793 100644
--- a/tests/gem_tiled_fence_blits.c
+++ b/tests/gem_tiled_fence_blits.c
@@ -112,8 +112,7 @@ int main(int argc, char **argv)
count = 3 * gem_aperture_size(fd) / (1024*1024) / 2;
if (count > intel_get_total_ram_mb() * 9 / 10) {
count = intel_get_total_ram_mb() * 9 / 10;
- fprintf(stderr, "not enough RAM to run test, reducing buffer count\n");
- return 77;
+ printf("not enough RAM to run test, reducing buffer count\n");
}
count |= 1;
printf("Using %d 1MiB buffers\n", count);