summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2018-09-11 11:30:25 -0700
committerJordan Justen <jordan.l.justen@intel.com>2018-09-25 15:34:55 -0700
commitd4147f3b0298c5e19b930c1ef0ca4831c973ded9 (patch)
treee7c5d042fca8e4d07ceacac86661dbbbf47607f2
parent05b9c02a8ef572c25e9ddd705d3ce7aa00de9205 (diff)
sanity: Turn shader_test list into a tuple
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
-rw-r--r--tests/sanity.py13
1 files changed, 9 insertions, 4 deletions
diff --git a/tests/sanity.py b/tests/sanity.py
index 88bf27457..a83eb2da5 100644
--- a/tests/sanity.py
+++ b/tests/sanity.py
@@ -66,10 +66,15 @@ def add_shader_test(shader):
profile = TestProfile()
-add_shader_test('tests/shaders/glsl-algebraic-add-zero.shader_test')
-add_shader_test('tests/spec/glsl-1.50/execution/geometry-basic.shader_test')
-add_shader_test('tests/spec/arb_tessellation_shader/execution/sanity.shader_test')
-add_shader_test('tests/spec/arb_compute_shader/execution/basic-ssbo.shader_test')
+shader_tests = (
+ 'tests/shaders/glsl-algebraic-add-zero.shader_test',
+ 'tests/spec/arb_compute_shader/execution/basic-ssbo.shader_test',
+ 'tests/spec/arb_tessellation_shader/execution/sanity.shader_test',
+ 'tests/spec/glsl-1.50/execution/geometry-basic.shader_test',
+)
+
+for shader_test in shader_tests:
+ add_shader_test(shader_test)
with profile.test_list.group_manager(
PiglitGLTest,