summaryrefslogtreecommitdiff
path: root/tests/all.py
diff options
context:
space:
mode:
authorMiklós Máté <mtmkls@gmail.com>2017-12-02 23:36:02 +0100
committerEric Anholt <eric@anholt.net>2018-01-03 16:57:09 -0800
commit7961fd1c57664688be60175445de0f6b14711395 (patch)
tree17448377e7643a3a75ececa183a53db07eba74a3 /tests/all.py
parent740ef3f21b1a2598d840ac4b847fc3bafa79b2c8 (diff)
ATI_fs: add api error tests
One for each paragraph in the Errors section of the spec. v2: don't exit on first failure, improve some tests, move spec quotes to top, add license headers, drop redundant error checks, add build system integration, add tests to all.py Signed-off-by: Miklós Máté <mtmkls@gmail.com> Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'tests/all.py')
-rw-r--r--tests/all.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/all.py b/tests/all.py
index 5a1368a8e..b87ed49c1 100644
--- a/tests/all.py
+++ b/tests/all.py
@@ -1891,6 +1891,20 @@ with profile.test_list.group_manager(
PiglitGLTest,
grouptools.join('spec', 'ATI_fragment_shader')) as g:
g(['ati-fs-bad-delete'])
+ g(['ati_fragment_shader-error01-genzero'])
+ g(['ati_fragment_shader-error02-inside'])
+ g(['ati_fragment_shader-error03-outside'])
+ g(['ati_fragment_shader-error04-endshader'])
+ g(['ati_fragment_shader-error05-passes'])
+ g(['ati_fragment_shader-error06-regswizzle'])
+ g(['ati_fragment_shader-error07-instcount'])
+ g(['ati_fragment_shader-error08-secondary'])
+ g(['ati_fragment_shader-error09-allconst'])
+ g(['ati_fragment_shader-error10-dotx'])
+ g(['ati_fragment_shader-error11-invaliddst'])
+ g(['ati_fragment_shader-error12-invalidsrc'])
+ g(['ati_fragment_shader-error13-invalidarg'])
+ g(['ati_fragment_shader-error14-invalidmod'])
# Group ARB_framebuffer_object
with profile.test_list.group_manager(