summaryrefslogtreecommitdiff
path: root/tests/gem_bad_reloc.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-10-23 17:54:44 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-10-23 17:54:44 +0200
commit8b556f7c8fc8b16fdeb7d23adb0e2fb54a8982fc (patch)
treed567585b51504de2501016a954b0c181f238c413 /tests/gem_bad_reloc.c
parent47246981b2497f7a767506fec6f9993d4772183a (diff)
tests/*: lib/igt.cocci found something!
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/gem_bad_reloc.c')
-rw-r--r--tests/gem_bad_reloc.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/gem_bad_reloc.c b/tests/gem_bad_reloc.c
index d0eb45cb..df0100fa 100644
--- a/tests/gem_bad_reloc.c
+++ b/tests/gem_bad_reloc.c
@@ -182,11 +182,9 @@ static int negative_reloc_blt(int fd)
if (0) {
for (i = 0; i < 1024; i += 8)
- printf("%08x %08x %08x %08x %08x %08x %08x %08x\n",
- buf[i + 0], buf[i + 1],
- buf[i + 2], buf[i + 3],
- buf[i + 4], buf[i + 5],
- buf[i + 6], buf[i + 7]);
+ igt_info("%08x %08x %08x %08x %08x %08x %08x %08x\n",
+ buf[i + 0], buf[i + 1], buf[i + 2], buf[i + 3],
+ buf[i + 4], buf[i + 5], buf[i + 6], buf[i + 7]);
}
for (i = 0; i < 1024; i++)
igt_assert_eq(buf[i], 0xc0ffee ^ i);