summaryrefslogtreecommitdiff
path: root/tests/gem_bad_length.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_bad_length.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_bad_length.c')
-rw-r--r--tests/gem_bad_length.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gem_bad_length.c b/tests/gem_bad_length.c
index 4b93cdeb..11cc197a 100644
--- a/tests/gem_bad_length.c
+++ b/tests/gem_bad_length.c
@@ -70,7 +70,7 @@ static int gem_exec(int fd, struct drm_i915_gem_execbuffer2 *execbuf)
static void create0(int fd)
{
int retval = 0;
- printf("trying to create a zero-length gem object\n");
+ igt_info("trying to create a zero-length gem object\n");
do_gem_create(fd, 0, &retval);
igt_assert(retval == EINVAL);
}
@@ -109,7 +109,7 @@ static void exec0(int fd)
i915_execbuffer2_set_context_id(execbuf, 0);
execbuf.rsvd2 = 0;
- printf("trying to run an empty batchbuffer\n");
+ igt_info("trying to run an empty batchbuffer\n");
gem_exec(fd, &execbuf);
gem_close(fd, exec[0].handle);