[Piglit] [PATCH] framework: use the correct executable for GLES parser tests

Dylan Baker baker.dylan.c at gmail.com
Thu Apr 30 11:54:38 PDT 2015


Two small nits, with those fixed:

Reviewed-by: Dylan Baker <baker.dylan.c at gmail.com>

On Thu, Apr 30, 2015 at 02:34:45PM +0200, Marek Olšák wrote:
> From: Marek Olšák <marek.olsak at amd.com>
> 
> ---
>  framework/test/glsl_parser_test.py | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/framework/test/glsl_parser_test.py b/framework/test/glsl_parser_test.py
> index 0ab3b0e..964cdb5 100644
> --- a/framework/test/glsl_parser_test.py
> +++ b/framework/test/glsl_parser_test.py
> @@ -97,8 +97,10 @@ class GLSLParserTest(PiglitBaseTest):
>                                                "from config".format(opt))
>  
>          # Create the command and pass it into a PiglitTest()
> +        glsl = config['glsl_version'];

please loose the ';' at the end of the line

>          command = [
> -            'glslparsertest',
> +            'glslparsertest_gles2' if glsl == '1.00' or glsl == '3.00'

'glslparsertest_gles2' if glsl in ['1.00', '3.00'] else 'glslparsertest'

> +            else 'glslparsertest',
>              filepath,
>              config['expect_result'],
>              config['glsl_version']
> -- 
> 2.1.0
> 
> _______________________________________________
> 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: Digital signature
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20150430/402957b8/attachment.sig>


More information about the Piglit mailing list