gem_wait_render_timeout: Fix SKIP return code
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 2 Oct 2012 18:22:37 +0000 (19:22 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 2 Oct 2012 18:22:37 +0000 (19:22 +0100)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
tests/gem_wait_render_timeout.c

index c321d36..14482e3 100644 (file)
@@ -133,7 +133,7 @@ int main(int argc, char **argv)
 
        if (gem_bo_wait_timeout(fd, dst->handle, &timeout) == -EINVAL) {
                printf("kernel doesn't support wait_timeout, skipping test\n");
-               return -77;
+               return 77;
        }
        timeout = ENOUGH_WORK_IN_SECONDS * NSEC_PER_SEC;