[Piglit] [PATCH] Add glsl-render-after-bad-attach to build and all.tests
Paul Berry
stereotype441 at gmail.com
Wed Jan 9 11:13:50 PST 2013
This test was added back in April (b859d0c) but was never added to the
build or all.tests.
---
Probably doesn't really need code review. Brian, let me know if this
works for you and I'll commit it.
tests/all.tests | 1 +
tests/spec/glsl-1.10/execution/CMakeLists.gl.txt | 14 ++++++++++++++
2 files changed, 15 insertions(+)
create mode 100644 tests/spec/glsl-1.10/execution/CMakeLists.gl.txt
diff --git a/tests/all.tests b/tests/all.tests
index 8ca4460..7933021 100644
--- a/tests/all.tests
+++ b/tests/all.tests
@@ -703,6 +703,7 @@ spec['glsl-1.10']['execution'] = Group()
add_shader_test_dir(spec['glsl-1.10']['execution'],
os.path.join(testsDir, 'spec', 'glsl-1.10', 'execution'),
recursive=True)
+add_concurrent_test(spec['glsl-1.10']['execution'], 'glsl-render-after-bad-attach')
for mode in ['fixed', 'pos_clipvert', 'clipvert_pos']:
cmdline = 'clip-plane-transformation ' + mode
spec['glsl-1.10']['execution']['clipping'][cmdline] = concurrent_test(cmdline)
diff --git a/tests/spec/glsl-1.10/execution/CMakeLists.gl.txt b/tests/spec/glsl-1.10/execution/CMakeLists.gl.txt
new file mode 100644
index 0000000..311fe01
--- /dev/null
+++ b/tests/spec/glsl-1.10/execution/CMakeLists.gl.txt
@@ -0,0 +1,14 @@
+
+include_directories(
+ ${GLEXT_INCLUDE_DIR}
+ ${OPENGL_INCLUDE_PATH}
+ ${piglit_SOURCE_DIR}/tests/mesa/util
+)
+
+link_libraries (
+ piglitutil_${piglit_target_api}
+ ${OPENGL_gl_LIBRARY}
+ ${OPENGL_glu_LIBRARY}
+)
+
+piglit_add_executable (glsl-render-after-bad-attach glsl-render-after-bad-attach.c)
--
1.8.1
More information about the Piglit
mailing list