tests: use igt_fail instead of exit(param != 0)
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 13 Aug 2013 10:56:06 +0000 (12:56 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 13 Aug 2013 13:15:17 +0000 (15:15 +0200)
commit5e25fcc285240353ab15bd4c3a0d0e02d970f45b
treeb5f1d461532308a6fb4e4c3057d238d5d3ea0709
parentb30d95f33ca9c7c2cd3ef9e3e23ea965ee784a8a
tests: use igt_fail instead of exit(param != 0)

Mostly a sed job with too manual fixups:
- one case of using _exit instead of exit
- and one case which under some conditions use 77, so convert that
  check to an igt_skip.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
34 files changed:
tests/gem_caching.c
tests/gem_cs_prefetch.c
tests/gem_cs_tlb.c
tests/gem_ctx_basic.c
tests/gem_double_irq_loop.c
tests/gem_dummy_reloc_loop.c
tests/gem_exec_bad_domains.c
tests/gem_exec_big.c
tests/gem_exec_blt.c
tests/gem_exec_nop.c
tests/gem_fence_thrash.c
tests/gem_hang.c
tests/gem_largeobject.c
tests/gem_non_secure_batch.c
tests/gem_partial_pwrite_pread.c
tests/gem_pipe_control_store_loop.c
tests/gem_reg_read.c
tests/gem_reloc_vs_gpu.c
tests/gem_ring_sync_loop.c
tests/gem_seqno_wrap.c
tests/gem_storedw_batches_loop.c
tests/gem_storedw_loop_blt.c
tests/gem_storedw_loop_bsd.c
tests/gem_storedw_loop_render.c
tests/gem_storedw_loop_vebox.c
tests/gem_stress.c
tests/gem_tiled_partial_pwrite_pread.c
tests/gem_tiled_pread_pwrite.c
tests/gem_tiled_swapping.c
tests/gem_unref_active_buffers.c
tests/gem_write_read_ring_switch.c
tests/kms_flip.c
tests/prime_nv_api.c
tests/prime_nv_test.c