summaryrefslogtreecommitdiff
path: root/tests/gem_largeobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_largeobject.c')
-rw-r--r--tests/gem_largeobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gem_largeobject.c b/tests/gem_largeobject.c
index 67363272..cd5bf207 100644
--- a/tests/gem_largeobject.c
+++ b/tests/gem_largeobject.c
@@ -66,7 +66,7 @@ test_large_object(int fd)
if (ret) {
fprintf(stderr, "object creation failed: %s\n",
strerror(errno));
- exit(ret);
+ igt_fail(ret);
}
pin.handle = create.handle;
@@ -74,7 +74,7 @@ test_large_object(int fd)
if (ret) {
fprintf(stderr, "pin failed: %s\n",
strerror(errno));
- exit(ret);
+ igt_fail(ret);
}
gem_write(fd, create.handle, 0, data, obj_size);