aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Berry <stereotype441@gmail.com>2013-01-09 11:06:44 -0800
committerPaul Berry <stereotype441@gmail.com>2013-01-21 14:27:38 -0800
commit8eae69515cb54ab0a3f3b5eed331851432790baa (patch)
tree6440a2a41d0d8ab519dde018ba390cd40c09cd46
parent5b54e5e8985958a0d8394f9ee0e77eadf7a7f6c1 (diff)
downloadpiglit-8eae69515cb54ab0a3f3b5eed331851432790baa.tar.gz
Add glsl-render-after-bad-attach to build and all.tests
This test was added back in April (b859d0c) but was never added to the build or all.tests.
-rw-r--r--tests/all.tests1
-rw-r--r--tests/spec/glsl-1.10/execution/CMakeLists.gl.txt14
2 files changed, 15 insertions, 0 deletions
diff --git a/tests/all.tests b/tests/all.tests
index 507a6465..0e3eb377 100644
--- a/tests/all.tests
+++ b/tests/all.tests
@@ -704,6 +704,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 00000000..311fe01a
--- /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)