tests: roll out igt_fixture
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 14 Aug 2013 16:02:46 +0000 (18:02 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 14 Aug 2013 16:02:46 +0000 (18:02 +0200)
commitb3880d3a969656b78fe246e5ca4dd5a4a2c70ef5
tree471f1d9f81ec5299615cf59cb1787afac09a5367
parentc3dd8a8c85b3e1a4329282cbe82fd7f387cd2643
tests: roll out igt_fixture

Also sprinkle igt_assert and igt_require over the setup code to clean
up code while at it. To avoid gcc getting upset about unitialized
variables just move them out of main as global data (where they always
get initialized to 0) - gcc can't see through our igt_fixture and
igt_subtest maze properly.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
27 files changed:
tests/gem_basic.c
tests/gem_caching.c
tests/gem_cs_tlb.c
tests/gem_ctx_bad_exec.c
tests/gem_dummy_reloc_loop.c
tests/gem_exec_bad_domains.c
tests/gem_exec_nop.c
tests/gem_flink.c
tests/gem_linear_blits.c
tests/gem_mmap_gtt.c
tests/gem_partial_pwrite_pread.c
tests/gem_pread.c
tests/gem_pread_after_blit.c
tests/gem_pwrite.c
tests/gem_pwrite_pread.c
tests/gem_readwrite.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