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>
This commit is contained in:
Daniel Vetter
2014-05-14 00:36:04 +02:00
parent 351e7d3950
commit e624fa8a2e
63 changed files with 325 additions and 336 deletions
+3 -3
View File
@@ -44,7 +44,7 @@ test_bad_close(int fd)
struct drm_gem_close close_bo;
int ret;
printf("Testing error return on bad close ioctl.\n");
igt_info("Testing error return on bad close ioctl.\n");
close_bo.handle = 0x10101010;
ret = ioctl(fd, DRM_IOCTL_GEM_CLOSE, &close_bo);
@@ -57,7 +57,7 @@ test_create_close(int fd)
{
uint32_t handle;
printf("Testing creating and closing an object.\n");
igt_info("Testing creating and closing an object.\n");
handle = gem_create(fd, 16*1024);
@@ -67,7 +67,7 @@ test_create_close(int fd)
static void
test_create_fd_close(int fd)
{
printf("Testing closing with an object allocated.\n");
igt_info("Testing closing with an object allocated.\n");
gem_create(fd, 16*1024);
/* leak it */