[Piglit] [PATCH] glx-oml-sync-control-*: Don't fail with -auto on the command line

Michel Dänzer michel at daenzer.net
Wed Oct 15 00:51:17 PDT 2014


From: Michel Dänzer <michel.daenzer at amd.com>

Looks like basically all tests are passed -auto since Dylan's recent
changes, and these tests always behave the same way as other tests do
with -auto anyway.

Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
---
 tests/spec/glx_oml_sync_control/timing.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/spec/glx_oml_sync_control/timing.c b/tests/spec/glx_oml_sync_control/timing.c
index e111c15..a03e75e 100644
--- a/tests/spec/glx_oml_sync_control/timing.c
+++ b/tests/spec/glx_oml_sync_control/timing.c
@@ -340,6 +340,8 @@ main(int argc, char **argv)
 		} else if (!strcmp(argv[j], "-msc-delta")) {
 			j++;
 			target_msc_delta = parse_num_arg(argc, argv, j);
+		} else if (!strcmp(argv[j], "-auto")) {
+			piglit_automatic = true;
 		} else {
 			fprintf(stderr, "unsupported option %s\n", argv[j]);
 			piglit_report_result(PIGLIT_FAIL);
-- 
2.1.1



More information about the Piglit mailing list