mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-22 05:43:02 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user