summaryrefslogtreecommitdiff
path: root/tests/gem_render_linear_blits.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_render_linear_blits.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_render_linear_blits.c')
-rw-r--r--tests/gem_render_linear_blits.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/gem_render_linear_blits.c b/tests/gem_render_linear_blits.c
index a7121d0d..7b316bdf 100644
--- a/tests/gem_render_linear_blits.c
+++ b/tests/gem_render_linear_blits.c
@@ -120,7 +120,7 @@ int main(int argc, char **argv)
if (count > intel_get_total_ram_mb() * 9 / 10) {
count = intel_get_total_ram_mb() * 9 / 10;
- printf("not enough RAM to run test, reducing buffer count\n");
+ igt_info("not enough RAM to run test, reducing buffer count\n");
}
bo = malloc(sizeof(*bo)*count);
@@ -134,11 +134,11 @@ int main(int argc, char **argv)
gem_write(fd, bo[i]->handle, 0, linear, sizeof(linear));
}
- printf("Verifying initialisation...\n");
+ igt_info("Verifying initialisation...\n");
for (i = 0; i < count; i++)
check_bo(fd, bo[i]->handle, start_val[i]);
- printf("Cyclic blits, forward...\n");
+ igt_info("Cyclic blits, forward...\n");
for (i = 0; i < count * 4; i++) {
struct igt_buf src, dst;
@@ -161,7 +161,7 @@ int main(int argc, char **argv)
if (igt_run_in_simulation())
return 0;
- printf("Cyclic blits, backward...\n");
+ igt_info("Cyclic blits, backward...\n");
for (i = 0; i < count * 4; i++) {
struct igt_buf src, dst;
@@ -181,7 +181,7 @@ int main(int argc, char **argv)
for (i = 0; i < count; i++)
check_bo(fd, bo[i]->handle, start_val[i]);
- printf("Random blits...\n");
+ igt_info("Random blits...\n");
for (i = 0; i < count * 4; i++) {
struct igt_buf src, dst;
int s = random() % count;