summaryrefslogtreecommitdiff
path: root/tests/gem_fence_thrash.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_fence_thrash.c')
-rw-r--r--tests/gem_fence_thrash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gem_fence_thrash.c b/tests/gem_fence_thrash.c
index c7855638..14d81b55 100644
--- a/tests/gem_fence_thrash.c
+++ b/tests/gem_fence_thrash.c
@@ -132,7 +132,7 @@ _bo_write_verify(struct test *t)
if (v != i) {
printf("tiling %s: write failed at %d (%x)\n",
tile_str[t->tiling], i, v);
- _exit(-1);
+ igt_fail(-1);
}
}
@@ -141,7 +141,7 @@ _bo_write_verify(struct test *t)
if (v != i) {
printf("tiling %s: verify failed at %d (%x)\n",
tile_str[t->tiling], i, v);
- exit(-2);
+ igt_fail(-2);
}
}
}