From: Marta Lofstedt <[email protected]>

The glx_arb_sync_control piglit tests should fail after a
timeout expired, instead of not terminating.

Signed-off-by: Marta Lofstedt <[email protected]>
---
 tests/spec/glx_oml_sync_control/common.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/spec/glx_oml_sync_control/common.c 
b/tests/spec/glx_oml_sync_control/common.c
index 6873ef1..ffd6261 100644
--- a/tests/spec/glx_oml_sync_control/common.c
+++ b/tests/spec/glx_oml_sync_control/common.c
@@ -58,6 +58,8 @@ piglit_oml_sync_control_test_run(bool fullscreen, enum 
piglit_result (*draw)(Dis
        Display *dpy;
        GLXContext ctx;
 
+       piglit_set_timeout(5, PIGLIT_FAIL);
+
        dpy = XOpenDisplay(NULL);
        if (dpy == NULL) {
                fprintf(stderr, "couldn't open display\n");
-- 
2.5.0

_______________________________________________
Piglit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to