[Piglit] [PATCH 09/24] all.py: change add_fbo_formats_tests to use list for args
Dylan Baker
baker.dylan.c at gmail.com
Mon Jan 5 13:50:30 PST 2015
Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
tests/all.py | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/tests/all.py b/tests/all.py
index fc23f2d..7a66d60 100644
--- a/tests/all.py
+++ b/tests/all.py
@@ -342,13 +342,19 @@ for pairs in [(['glsl1'], glean_glsl_tests),
profile.tests[groupname].env['PIGLIT_TEST'] = name
def add_fbo_formats_tests(path, extension, suffix=''):
- profile.tests[path + '/fbo-generatemipmap-formats' + suffix] = PiglitGLTest('fbo-generatemipmap-formats ' + extension, run_concurrent=True)
- profile.tests[path + '/fbo-clear-formats' + suffix] = PiglitGLTest('fbo-clear-formats ' + extension, run_concurrent=True)
- profile.tests[path + '/get-renderbuffer-internalformat' + suffix] = PiglitGLTest('get-renderbuffer-internalformat ' + extension, run_concurrent=True)
+ profile.tests[path + '/fbo-generatemipmap-formats' + suffix] = \
+ PiglitGLTest(['fbo-generatemipmap-formats', extension], run_concurrent=True)
+ profile.tests[path + '/fbo-clear-formats' + suffix] = \
+ PiglitGLTest(['fbo-clear-formats', extension], run_concurrent=True)
+ profile.tests[path + '/get-renderbuffer-internalformat' + suffix] = \
+ PiglitGLTest(['get-renderbuffer-internalformat', extension], run_concurrent=True)
if 'depth' not in extension:
- profile.tests[path + '/fbo-blending-formats' + suffix] = PiglitGLTest('fbo-blending-formats ' + extension, run_concurrent=True)
- profile.tests[path + '/fbo-alphatest-formats' + suffix] = PiglitGLTest('fbo-alphatest-formats ' + extension, run_concurrent=True)
- profile.tests[path + '/fbo-colormask-formats' + suffix] = PiglitGLTest('fbo-colormask-formats ' + extension, run_concurrent=True)
+ profile.tests[path + '/fbo-blending-formats' + suffix] = \
+ PiglitGLTest(['fbo-blending-formats', extension], run_concurrent=True)
+ profile.tests[path + '/fbo-alphatest-formats' + suffix] = \
+ PiglitGLTest(['fbo-alphatest-formats', extension], run_concurrent=True)
+ profile.tests[path + '/fbo-colormask-formats' + suffix] = \
+ PiglitGLTest(['fbo-colormask-formats', extension], run_concurrent=True)
def add_msaa_formats_tests(group, extension):
for num_samples in MSAA_SAMPLE_COUNTS:
--
2.2.1
More information about the Piglit
mailing list