[Piglit] [PATCH 1/2] gles2: add invalid-es3-queries_gles2 to all.tests
Matt Turner
mattst88 at gmail.com
Wed Jan 2 19:01:58 PST 2013
On Wed, Jan 2, 2013 at 1:45 PM, Tom Gall <tom.gall at linaro.org> wrote:
> Change invalid-es3-quesies to follow conventions and be
> built as invalid-es3-queries_gles2
>
> To all.tests, create gles20 group.
>
> Add invalid-es3-queries_gles2 to gles20 group as a concurrent
> test in all.tests.
>
> Signed-off-by: Tom Gall <tom.gall at linaro.org>
> ---
> tests/all.tests | 4 ++++
> tests/spec/gles-2.0/CMakeLists.gles2.txt | 2 +-
> 2 files changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/tests/all.tests b/tests/all.tests
> index 9eacc85..d29a5ef 100644
> --- a/tests/all.tests
> +++ b/tests/all.tests
> @@ -2690,6 +2690,10 @@ egl_khr_create_context['3.2 core profile required'] = plain_test('egl-create-con
> egl_khr_create_context['pre-GL3.2 profile'] = plain_test('egl-create-context-pre-GL32-profile')
> egl_khr_create_context['verify GL flavor'] = plain_test('egl-create-context-verify-gl-flavor')
>
> +gles20 = Group()
> +spec['!OpenGL ES 2.0'] = gles20
> +add_concurrent_test(gles20, 'invalid-es3-queries_gles2')
> +
> gles30 = Group()
> spec['!OpenGL ES 3.0'] = gles30
> for tex_format in ('rgb8', 'srgb8', 'rgba8', 'srgb8-alpha8', 'r11', 'rg11', 'rgb8-punchthrough-alpha1', 'srgb8-punchthrough-alpha1'):
> diff --git a/tests/spec/gles-2.0/CMakeLists.gles2.txt b/tests/spec/gles-2.0/CMakeLists.gles2.txt
> index 4d06a02..ab78280 100644
> --- a/tests/spec/gles-2.0/CMakeLists.gles2.txt
> +++ b/tests/spec/gles-2.0/CMakeLists.gles2.txt
> @@ -2,6 +2,6 @@ link_libraries(
> piglitutil_${piglit_target_api}
> )
>
> -piglit_add_executable(gles2-invalid-es3-queries invalid-es3-queries.c)
> +piglit_add_executable(invalid-es3-queries_gles2 invalid-es3-queries.c)
>
> # vim: ft=cmake:
> --
> 1.7.10.4
Reviewed-by: Matt Turner <mattst88 at gmail.com>
More information about the Piglit
mailing list