summaryrefslogtreecommitdiff
path: root/tests/gem_cpu_reloc.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-11-27 20:04:15 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-11-28 11:08:37 +0100
commit021909e10d1bf9192c6245802b0df4866681b3f0 (patch)
treeee680dfb3060ac4d3f08082f621ecef048dd0c37 /tests/gem_cpu_reloc.c
parent4fae0c65c5c1fdf5403a31104890a279fd7b544f (diff)
tests: dont polute stderr if the test succeeds/skips
Results in spurious 'warn' results in piglit. Also don't print progress indicators when not outputting to a terminal. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/gem_cpu_reloc.c')
-rw-r--r--tests/gem_cpu_reloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_cpu_reloc.c b/tests/gem_cpu_reloc.c
index 787e5071..baf83015 100644
--- a/tests/gem_cpu_reloc.c
+++ b/tests/gem_cpu_reloc.c
@@ -209,7 +209,7 @@ int main(int argc, char **argv)
drmtest_progress("gem_cpu_reloc: ", 2*count+i, 3*count);
}
- fprintf(stderr, "Test suceeded, cleanup up - this might take a while.\n");
+ printf("Test suceeded, cleanup up - this might take a while.\n");
close(fd);
return 0;