[Piglit] [PATCH 7/8] variable-index-write.sh: echo generated testcase name and formalize output directory target

2013-04-20 Thread Tom Gall
Adjust shell script so it echos the name of the generated testcase and output the generated testcases using the following pattern: "spec/glsl"${es}-${version}"/execution/varible-index-write" This uses the convention followed by the other scripts that generate testcases. Signed-off-by: Tom Gall

[Piglit] [PATCH 6/8] variable-index-read.sh: echo generated testcase name and formalize output directory target

2013-04-20 Thread Tom Gall
Adjust shell script so it echos the name of the generated testcase and output the generated testcases using the following pattern: "spec/glsl"${es}-${version}"/execution/varible-index-read" This uses the convention followed by the other scripts that generate testcases. Signed-off-by: Tom Gall

[Piglit] [PATCH 5/8] Add calls to variable-index-read.sh and variable-index-write.sh in generated_tests

2013-04-20 Thread Tom Gall
In generated_tests/CMakeLists.txt add new fn piglit_make_sh_generated_tests which allows for shells scripts to be called to generate tests cases. Call variable-index-read.sh and variable-index-write.sh to generate tests for glsl 1.00, 1.10 and 1.20. Signed-off-by: Tom Gall --- generated_tests/

[Piglit] [PATCH 4/8] move variable-index-read.sh and variable-index-write.sh to generated_tests

2013-04-20 Thread Tom Gall
Signed-off-by: Tom Gall --- {tests/spec/glsl-1.10 => generated_tests}/variable-index-read.sh |0 {tests/spec/glsl-1.10 => generated_tests}/variable-index-write.sh |0 2 files changed, 0 insertions(+), 0 deletions(-) rename {tests/spec/glsl-1.10 => generated_tests}/variable-index-read.s

[Piglit] [PATCH 3/8] glsl_parser_test.py: For glsl 1.00 use correct glslparsertest_gles2 binary

2013-04-20 Thread Tom Gall
When the glsl_version is 1.00, use the glslparsertest_gles2 binary Signed-off-by: Tom Gall --- framework/glsl_parser_test.py |8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/framework/glsl_parser_test.py b/framework/glsl_parser_test.py index 66e6dd3..914904d 100755 -

[Piglit] [PATCH 2/8] variable-index-write.sh: extend to support glsl es 1.00

2013-04-20 Thread Tom Gall
>From tests/spec/glsl-1.10 extend variable-index-write.sh so that it can also correctly generates variable index write tests that support glsl-es-1.00. 1.00 added as a valid parameter to generated tests for glsl-es-1.00. For 1.00 tests in the vertex shader an orthographic projection is applied si

[Piglit] [PATCH 1/8] variable-index-read.sh: extend to support glsl es 1.00

2013-04-20 Thread Tom Gall
>From tests/spec/glsl-1.10 extend variable-index-read.sh so that it can also correctly generates variable index read tests that support glsl-es-1.00. 1.00 added as a valid parameter to generated tests for glsl-es-1.00. For 1.00 tests the vertex shader an orthographic projection is applied since o

Re: [Piglit] [PATCH 2/3] piglit util: add piglit_link_simple_gs_program

2013-04-20 Thread Brian Paul
On 04/19/2013 06:09 PM, Jordan Justen wrote: Signed-off-by: Jordan Justen --- tests/util/piglit-shader.c | 23 +++ tests/util/piglit-shader.h |1 + 2 files changed, 24 insertions(+) diff --git a/tests/util/piglit-shader.c b/tests/util/piglit-shader.c index c67e58a..

Re: [Piglit] [PATCH] add new piglit-summary.py script for printing summaries of results file(s)

2013-04-20 Thread Brian Paul
On 04/19/2013 09:54 PM, Dylan Baker wrote: I have some concerns with this patch: 1) It has two imports that are not being used: cgi, os (not os.path) I'll fix that. 2) getopt: I've been trying to get rid of getopt and replace it with argparse (I have a patch set ready to go to replace the re

Re: [Piglit] [PATCH] fbo: add test for multiple draw buffer combinations including GL_NONE

2013-04-20 Thread Marek Olšák
Could you please make this test concurrent? (make sure it works with -fbo, then use add_concurrent_test in all.tests) Marek On Sat, Apr 20, 2013 at 2:54 PM, Christoph Bumiller wrote: > From: Christoph Bumiller > > Passes on NV blob (except segfault on doing glBlitFramebuffer when > glReadBuffer

[Piglit] [PATCH] fbo: add test for multiple draw buffer combinations including GL_NONE

2013-04-20 Thread Christoph Bumiller
From: Christoph Bumiller Passes on NV blob (except segfault on doing glBlitFramebuffer when glReadBuffer is GL_NONE), and fails horribly with st/mesa for obvious reasons. --- tests/all.tests |1 + tests/fbo/CMakeLists.gl.txt |1 + tests/fbo/fbo-draw-buffers.c | 252 +++

Re: [Piglit] [PATCH] add new --ignoreStderr option to piglit-run.py

2013-04-20 Thread Henri Verbeet
On 19 April 2013 16:22, Brian Paul wrote: > On 04/19/2013 04:33 AM, Jose Fonseca wrote: >> >> Yes, assuming stderr messages are driver warnings seems a bit pedantic. >> >> We could do the other way around -- have a whitelist of warning regular >> expressions that we do known that are worrisome. >