this allows to write tests that use egl-util and piglit framework
Signed-off-by: Tapani Pälli <[email protected]>
---
tests/egl/egl-util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/egl/egl-util.c b/tests/egl/egl-util.c
index 012f547..a9a60e6 100644
--- a/tests/egl/egl-util.c
+++ b/tests/egl/egl-util.c
@@ -149,7 +149,7 @@ event_loop(struct egl_state *state, const struct egl_test
*test)
if (event.type == Expose) {
result = test->draw(state);
- if (automatic)
+ if (automatic || piglit_automatic)
break;
}
--
1.8.4.2
_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit