summaryrefslogtreecommitdiff
path: root/tests/gem_wait_render_timeout.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-05-14 00:36:04 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-05-14 00:36:04 +0200
commite624fa8a2e1a31494c6e47a65e378e480882422d (patch)
treea79a5450e756efc23ebad0dcb1494ace10c9b66b /tests/gem_wait_render_timeout.c
parent351e7d395041b4b87ad28a201c81acac40cb397f (diff)
tests: sprinkle igt logging
All the cases that simply dump some debug information and couldn't be converted to some of the fancier macros. Some information output removed when it's redundant with the subtest status. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/gem_wait_render_timeout.c')
-rw-r--r--tests/gem_wait_render_timeout.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/gem_wait_render_timeout.c b/tests/gem_wait_render_timeout.c
index 9f4e8a1d..a34c006c 100644
--- a/tests/gem_wait_render_timeout.c
+++ b/tests/gem_wait_render_timeout.c
@@ -183,7 +183,7 @@ igt_simple_main
igt_assert_cmpint(iter, <, 1000000);
- printf("%d iters is enough work\n", iter);
+ igt_info("%d iters is enough work\n", iter);
gem_quiescent_gpu(fd);
if (do_signals)
igt_fork_signal_helper();
@@ -201,9 +201,9 @@ igt_simple_main
igt_assert(gem_bo_busy(fd, dst2->handle) == false);
igt_assert_cmpint(timeout, !=, 0);
if (timeout == (ENOUGH_WORK_IN_SECONDS * NSEC_PER_SEC))
- printf("Buffer was already done!\n");
+ igt_info("Buffer was already done!\n");
else {
- printf("Finished with %lu time remaining\n", timeout);
+ igt_info("Finished with %lu time remaining\n", timeout);
}
/* check that polling with timeout=0 works. */