[Piglit] [PATCH] nv_conditional_render: switch to common include layout for tests

Dylan Baker baker.dylan.c at gmail.com
Sat Nov 15 21:59:15 PST 2014


On Sunday, November 16, 2014 05:10:17 AM Tobias Klausmann wrote:
> run the tests without -auto as well
> 
> Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann at mni.thm.de>
> ---
>  tests/all.py | 24 ++++++++++++------------
>  1 file changed, 12 insertions(+), 12 deletions(-)
> 
> diff --git a/tests/all.py b/tests/all.py
> index fba8c23..661a94d 100644
> --- a/tests/all.py
> +++ b/tests/all.py
> @@ -3365,18 +3365,18 @@ add_plain_test(nv_texture_barrier, 'blending-in-shader')
>  
>  nv_conditional_render = {}
>  spec['NV_conditional_render'] = nv_conditional_render
> -nv_conditional_render['begin-while-active'] = PiglitGLTest('nv_conditional_render-begin-while-active', run_concurrent=True)
> -nv_conditional_render['begin-zero'] = PiglitGLTest('nv_conditional_render-begin-zero', run_concurrent=True)
> -nv_conditional_render['bitmap'] = PiglitGLTest(['nv_conditional_render-bitmap', '-auto'])
> -nv_conditional_render['blitframebuffer'] = PiglitGLTest(['nv_conditional_render-blitframebuffer', '-auto'])
> -nv_conditional_render['clear'] = PiglitGLTest(['nv_conditional_render-clear', '-auto'])
> -nv_conditional_render['copypixels'] = PiglitGLTest(['nv_conditional_render-copypixels', '-auto'])
> -nv_conditional_render['copyteximage'] = PiglitGLTest(['nv_conditional_render-copyteximage', '-auto'])
> -nv_conditional_render['copytexsubimage'] = PiglitGLTest(['nv_conditional_render-copytexsubimage', '-auto'])
> -nv_conditional_render['dlist'] = PiglitGLTest(['nv_conditional_render-dlist', '-auto'])
> -nv_conditional_render['drawpixels'] = PiglitGLTest(['nv_conditional_render-drawpixels', '-auto'])
> -nv_conditional_render['generatemipmap'] = PiglitGLTest(['nv_conditional_render-generatemipmap', '-auto'])
> -nv_conditional_render['vertex_array'] = PiglitGLTest(['nv_conditional_render-vertex_array', '-auto'])
> +add_concurrent_test(nv_conditional_render, 'nv_conditional_render-begin-while-active')
> +add_concurrent_test(nv_conditional_render, 'nv_conditional_render-begin-zero')

This will change the name of the tests from 'begin-while-active' to
'nv_conditional_render-begin-while-active', which is something we
discourage because it makes comparing results hard.

There's a bunch more tests that have this same problem. I've got a patch
that I need to finish testing then I'll send it out.

> +nv_conditional_render['bitmap'] = PiglitGLTest('nv_conditional_render-bitmap')
> +nv_conditional_render['blitframebuffer'] = PiglitGLTest('nv_conditional_render-blitframebuffer')
> +nv_conditional_render['clear'] = PiglitGLTest('nv_conditional_render-clear')
> +nv_conditional_render['copypixels'] = PiglitGLTest('nv_conditional_render-copypixels')
> +nv_conditional_render['copyteximage'] = PiglitGLTest('nv_conditional_render-copyteximage')
> +nv_conditional_render['copytexsubimage'] = PiglitGLTest('nv_conditional_render-copytexsubimage')
> +nv_conditional_render['dlist'] = PiglitGLTest('nv_conditional_render-dlist')
> +nv_conditional_render['drawpixels'] = PiglitGLTest('nv_conditional_render-drawpixels')
> +nv_conditional_render['generatemipmap'] = PiglitGLTest('nv_conditional_render-generatemipmap')
> +nv_conditional_render['vertex_array'] = PiglitGLTest('nv_conditional_render-vertex_array')
>  
>  oes_matrix_get = {}
>  spec['OES_matrix_get'] = oes_matrix_get
> -- 
> 2.1.3
> 
> _______________________________________________
> 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/20141115/bac998c4/attachment.sig>


More information about the Piglit mailing list