lib/drmtest: Add drmtest_subtest_block macro
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 12 Aug 2013 07:04:24 +0000 (09:04 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 12 Aug 2013 09:10:26 +0000 (11:10 +0200)
commit9f6365e4eacc7aa07fc3f9524500d1e217b61bb5
tree1592d8b751616a705e2a5e4b9729b8baf4604f66
parent40ea6f4ea89dbf5a326677ea9482cc48743d2543
lib/drmtest: Add drmtest_subtest_block macro

Doesn't do more than an if (drmtest_run_test(name)) right now, but
as soon as we get a bit of infrastructure to handle test failures and
skipping, this will get more interesting.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
30 files changed:
lib/drmtest.h
tests/gem_basic.c
tests/gem_cpu_concurrent_blit.c
tests/gem_cs_tlb.c
tests/gem_dummy_reloc_loop.c
tests/gem_exec_bad_domains.c
tests/gem_exec_faulting_reloc.c
tests/gem_exec_nop.c
tests/gem_fence_thrash.c
tests/gem_flink.c
tests/gem_flink_race.c
tests/gem_gtt_concurrent_blit.c
tests/gem_linear_blits.c
tests/gem_mmap_gtt.c
tests/gem_partial_pwrite_pread.c
tests/gem_pread_after_blit.c
tests/gem_prw_concurrent_blit.c
tests/gem_pwrite_pread.c
tests/gem_ringfill.c
tests/gem_set_tiling_vs_blt.c
tests/gem_suspend.c
tests/gem_tiled_blits.c
tests/gem_tiled_partial_pwrite_pread.c
tests/gem_write_read_ring_switch.c
tests/kms_flip.c
tests/kms_render.c
tests/prime_nv_api.c
tests/prime_nv_pcopy.c
tests/prime_nv_test.c
tests/prime_self_import.c