From 19d69955d2827ccf56c65d97a921e5c70f125ca0 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Tue, 13 Sep 2011 11:05:13 +0200 Subject: tests: exit(77) to properly mark tests as SKIP Signed-off-by: Daniel Vetter --- tests/gem_ring_sync_loop.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/gem_ring_sync_loop.c') diff --git a/tests/gem_ring_sync_loop.c b/tests/gem_ring_sync_loop.c index 7837557d..a415715e 100644 --- a/tests/gem_ring_sync_loop.c +++ b/tests/gem_ring_sync_loop.c @@ -104,7 +104,7 @@ int main(int argc, char **argv) devid = intel_get_drm_devid(fd); if (!HAS_BLT_RING(devid)) { fprintf(stderr, "inter ring check needs gen6+\n"); - goto out; + return 77; } @@ -133,7 +133,6 @@ int main(int argc, char **argv) intel_batchbuffer_free(batch); drm_intel_bufmgr_destroy(bufmgr); -out: close(fd); return 0; -- cgit v1.2.3