summaryrefslogtreecommitdiff
path: root/tests/gem_ring_sync_copy.c
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2015-04-09 09:24:12 +0100
committerThomas Wood <thomas.wood@intel.com>2015-04-14 17:43:05 +0100
commitb47032e191f0afb8d2dabf90889eee6dac8fc0e1 (patch)
treed2f09b48fd8881bb8d20d1f276862a400e8958d8 /tests/gem_ring_sync_copy.c
parent41fe1d1a4452891a297cea427a338c8769fc5c26 (diff)
lib: add a define for test failure exit status
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'tests/gem_ring_sync_copy.c')
-rw-r--r--tests/gem_ring_sync_copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_ring_sync_copy.c b/tests/gem_ring_sync_copy.c
index f5ffddc3..13af1989 100644
--- a/tests/gem_ring_sync_copy.c
+++ b/tests/gem_ring_sync_copy.c
@@ -317,7 +317,7 @@ static void run_test(data_t *data, enum ring r1, enum ring r2, enum test test)
bo_check(data, b, 0xc);
break;
default:
- igt_fail(1);
+ igt_fail(IGT_EXIT_FAILURE);
}
r1_ops->busy_fini(data);