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

Dylan Baker baker.dylan.c at gmail.com
Wed Oct 15 14:29:43 PDT 2014


Reviewed-by: Dylan Baker <dylanx.c.baker at intel.com>

I added Eric's rb and pushed

On Wednesday, October 15, 2014 04:51:17 PM Michel Dänzer wrote:
> 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
> 
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20141015/6fe0ad42/attachment.sig>


More information about the Piglit mailing list