From ef45b4403677ccf6207a3d80528c45f8d3a3f171 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 2 Oct 2012 19:22:37 +0100 Subject: [PATCH] gem_wait_render_timeout: Fix SKIP return code Signed-off-by: Chris Wilson --- tests/gem_wait_render_timeout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gem_wait_render_timeout.c b/tests/gem_wait_render_timeout.c index c321d36c..14482e37 100644 --- a/tests/gem_wait_render_timeout.c +++ b/tests/gem_wait_render_timeout.c @@ -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;