[Piglit] [PATCH] Add tests for glEdgeFlag().
Marek Olšák
maraeo at gmail.com
Sat Jul 28 03:38:55 PDT 2012
On Sat, Jul 28, 2012 at 2:14 AM, Eric Anholt <eric at anholt.net> wrote:
> ---
> tests/all.tests | 5 ++
> tests/spec/CMakeLists.txt | 1 +
> tests/spec/gl-1.0/CMakeLists.gl.txt | 15 +++++
> tests/spec/gl-1.0/CMakeLists.txt | 1 +
> tests/spec/gl-1.0/edgeflag-quads.c | 95 +++++++++++++++++++++++++++
> tests/spec/gl-1.0/edgeflag.c | 77 ++++++++++++++++++++++
> tests/spec/gl-2.0/CMakeLists.gl.txt | 1 +
> tests/spec/gl-2.0/edgeflag.c | 124 +++++++++++++++++++++++++++++++++++
> 8 files changed, 319 insertions(+)
> create mode 100644 tests/spec/gl-1.0/CMakeLists.gl.txt
> create mode 100644 tests/spec/gl-1.0/CMakeLists.txt
> create mode 100644 tests/spec/gl-1.0/edgeflag-quads.c
> create mode 100644 tests/spec/gl-1.0/edgeflag.c
> create mode 100644 tests/spec/gl-2.0/edgeflag.c
>
> diff --git a/tests/all.tests b/tests/all.tests
> index f9a09c5..3dd292e 100644
> --- a/tests/all.tests
> +++ b/tests/all.tests
> @@ -858,6 +858,10 @@ add_plain_test(gl11, 'r300-readcache')
> add_plain_test(gl11, 'tri-tex-crash')
> add_plain_test(gl11, 'vbo-buffer-unmap')
>
> +gl10 = Group()
> +add_concurrent_test(gl10, 'gl-1.0-edgeflag')
> +add_concurrent_test(gl10, 'gl-1.0-edgeflag-quads')
It looks like you forgot to add the gl10 group into spec.
Marek
> +
> gl12 = Group()
> spec['!OpenGL 1.2'] = gl12
> add_texwrap_test1(gl12, '3D')
> @@ -872,6 +876,7 @@ add_plain_test(gl14, 'tex1d-2dborder')
>
> gl20 = Group()
> spec['!OpenGL 2.0'] = gl20
> +add_concurrent_test(gl20, 'gl-2.0-edgeflag')
> add_texwrap_test2(gl20, '1D', 'npot')
> add_texwrap_test3(gl20, '1D', 'npot', 'proj')
> add_texwrap_test2(gl20, '2D', 'npot')
More information about the Piglit
mailing list