tests: Use igt macros more
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 14 May 2014 07:56:53 +0000 (09:56 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 14 May 2014 07:56:53 +0000 (09:56 +0200)
commit0b7ce4ac2929ea56dfde508d551163a5304c66d8
tree7af13f919437cc28ab61dbae3fee42a159fcfb6f
parente624fa8a2e1a31494c6e47a65e378e480882422d
tests: Use igt macros more

Often just folding together of the common if (cond) printf;
abort|igt_skip|igt_fail; pattern. But in a few cases I've ripped out
more since the igt macros will already print the condition and errno.

A few tests where more work (like ripping out return codes en masse)
is needed left as-is.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
30 files changed:
tests/gem_ctx_bad_destroy.c
tests/gem_ctx_create.c
tests/gem_dummy_reloc_loop.c
tests/gem_hang.c
tests/gem_linear_blits.c
tests/gem_lut_handle.c
tests/gem_media_fill.c
tests/gem_mmap_offset_exhaustion.c
tests/gem_multi_bsd_sync_loop.c
tests/gem_pread_after_blit.c
tests/gem_reg_read.c
tests/gem_render_copy.c
tests/gem_render_copy_redux.c
tests/gem_render_linear_blits.c
tests/gem_render_tiled_blits.c
tests/gem_set_tiling_vs_blt.c
tests/gem_set_tiling_vs_gtt.c
tests/gem_storedw_loop_vebox.c
tests/gem_tiled_blits.c
tests/gem_tiled_fence_blits.c
tests/gem_tiled_pread.c
tests/gem_userptr_blits.c
tests/gen3_mixed_blits.c
tests/gen3_render_linear_blits.c
tests/gen3_render_mixed_blits.c
tests/gen3_render_tiledx_blits.c
tests/gen3_render_tiledy_blits.c
tests/kms_setmode.c
tests/pm_psr.c
tests/pm_rc6_residency.c