tests: exit(77) to properly mark tests as SKIP

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter
2011-09-13 11:05:13 +02:00
parent 21ec8c78b3
commit 19d69955d2
13 changed files with 13 additions and 21 deletions
+1 -2
View File
@@ -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);