summaryrefslogtreecommitdiff
path: root/tests/gem_pipe_control_store_loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_pipe_control_store_loop.c')
-rw-r--r--tests/gem_pipe_control_store_loop.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/gem_pipe_control_store_loop.c b/tests/gem_pipe_control_store_loop.c
index f8cdb9fe..4907c04f 100644
--- a/tests/gem_pipe_control_store_loop.c
+++ b/tests/gem_pipe_control_store_loop.c
@@ -154,7 +154,7 @@ int main(int argc, char **argv)
if (IS_GEN2(devid) || IS_GEN3(devid)) {
fprintf(stderr, "no pipe_control on gen2/3\n");
- goto out;
+ return 77;
}
/* IMPORTANT: No call to
* drm_intel_bufmgr_gem_enable_reuse(bufmgr);
@@ -170,7 +170,6 @@ int main(int argc, char **argv)
store_pipe_control_loop();
intel_batchbuffer_free(batch);
-out:
drm_intel_bufmgr_destroy(bufmgr);
close(fd);