summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-03-25 14:34:31 -0700
committerEric Anholt <eric@anholt.net>2010-05-19 13:26:32 -0700
commit480d204d42608b8a8fc077e6fc3b9ce7870b14ba (patch)
treeeaa91bc871da73a461e5637877bec9ebcf6b0173
parent72c3c64ea8b6815a3b24e486f2427364d127107d (diff)
Include the normal GLSL tests in the external parsing.idr-glsl
-rw-r--r--tests/all.tests31
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/all.tests b/tests/all.tests
index fc5ed5303..fefadad22 100644
--- a/tests/all.tests
+++ b/tests/all.tests
@@ -698,6 +698,37 @@ add_otherglslparsertest('glsl2/xreal-lighting-dbs-omni.vert', 'pass')
add_otherglslparsertest('glsl2/xreal-lighting-d-omni.frag', 'pass')
add_otherglslparsertest('glsl2/xreal-lighting-d-omni.vert', 'pass')
+def add_otherglslparsertest(shader, result):
+ glslparsertest[shader] = PlainExecTest(['../tests/glslparsertest/external-glslparsertest.sh', 'tests/' + shader, result])
+add_otherglslparsertest('shaders/glsl-arb-fragment-coord-conventions-define.frag', 'pass')
+add_otherglslparsertest('shaders/glsl-color.frag', 'pass')
+add_otherglslparsertest('shaders/glsl-fs-bug25902.frag', 'pass')
+add_otherglslparsertest('shaders/glsl-fs-exp2.frag', 'pass')
+add_otherglslparsertest('shaders/glsl-fs-fragcoord.frag', 'pass')
+add_otherglslparsertest('shaders/glsl-fs-log2.frag', 'pass')
+add_otherglslparsertest('shaders/glsl-fs-loop.frag', 'pass')
+add_otherglslparsertest('shaders/glsl-fs-loop-nested.frag', 'pass')
+add_otherglslparsertest('shaders/glsl-fs-mix-constant.frag', 'pass')
+add_otherglslparsertest('shaders/glsl-fs-mix.frag', 'pass')
+add_otherglslparsertest('shaders/glsl-fs-sqrt-branch.frag', 'pass')
+add_otherglslparsertest('shaders/glsl-fs-sqrt-zero.frag', 'pass')
+add_otherglslparsertest('shaders/glsl-mvp.vert', 'pass')
+add_otherglslparsertest('shaders/glsl-orangebook-ch06-bump.frag', 'pass')
+add_otherglslparsertest('shaders/glsl-orangebook-ch06-bump.vert', 'pass')
+add_otherglslparsertest('shaders/glsl-preprocessor-comments.frag', 'pass')
+add_otherglslparsertest('shaders/glsl-preprocessor-comments.vert', 'pass')
+add_otherglslparsertest('shaders/glsl-tex-mvp.vert', 'pass')
+add_otherglslparsertest('shaders/glsl-uniform-update.frag', 'pass')
+add_otherglslparsertest('shaders/glsl-unused-varying.frag', 'pass')
+add_otherglslparsertest('shaders/glsl-unused-varying.vert', 'pass')
+add_otherglslparsertest('shaders/glsl-vs-arrays.vert', 'pass')
+add_otherglslparsertest('shaders/glsl-vs-functions.vert', 'pass')
+add_otherglslparsertest('shaders/glsl-vs-if-bool.vert', 'pass')
+add_otherglslparsertest('shaders/glsl-vs-loop-nested.vert', 'pass')
+add_otherglslparsertest('shaders/glsl-vs-loop.vert', 'pass')
+add_otherglslparsertest('shaders/glsl-vs-mov-after-deref.vert', 'pass')
+add_otherglslparsertest('shaders/glsl-vs-sqrt-zero.vert', 'pass')
+
asmparsertest = Group()
def add_asmparsertest(group, shader):
asmparsertest[group + '/' + shader] = PlainExecTest(['asmparsertest', '-auto', group, 'tests/asmparsertest/shaders/' + group + '/' + shader])