summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2014-10-15 16:51:17 +0900
committerDylan Baker <dylanx.c.baker@intel.com>2014-10-15 14:22:39 -0700
commitc7fd7588b95ea182d88690844edc3682877bdbf5 (patch)
tree8271f211d2768d96586918cdc72f88368ad48f13
parent7188fbf181b434eb532d371fa6d6bb5598cbb2e4 (diff)
glx-oml-sync-control-*: Don't fail with -auto on the command line
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@amd.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Dylan Baker <dylanx.c.baker@intel.com>
-rw-r--r--tests/spec/glx_oml_sync_control/timing.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/spec/glx_oml_sync_control/timing.c b/tests/spec/glx_oml_sync_control/timing.c
index e111c15a3..a03e75eeb 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);