tests/*: lib/igt.cocci found something!

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter 2014-10-23 17:54:44 +02:00
parent 47246981b2
commit 8b556f7c8f
2 changed files with 4 additions and 6 deletions

View File

@ -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);

View File

@ -351,7 +351,7 @@ static void test_crc(data_t *data)
get_sink_crc(data, crc);
igt_assert(strcmp(ref_crc, crc) == 0);
fprintf(stdout, "Waiting 10s...\n");
igt_info("Waiting 10s...\n");
sleep(10);
/* Now lets print black to change the screen */