[Piglit] [PATCH 15/24] all.py: change add_color_buffer_float_test to use list for args

Dylan Baker baker.dylan.c at gmail.com
Mon Jan 5 13:50:36 PST 2015


Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 tests/all.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/all.py b/tests/all.py
index 57379c3..7cbc44a 100644
--- a/tests/all.py
+++ b/tests/all.py
@@ -2320,7 +2320,10 @@ tdfx_texture_compression_fxt1['invalid formats'] = PiglitGLTest('arb_texture_com
 add_plain_test(tdfx_texture_compression_fxt1, 'fxt1-teximage')
 
 def add_color_buffer_float_test(name, format, p1, p2):
-    arb_color_buffer_float[format + '-' + name + ('-' + p1 if len(p1) else '') + ('-' + p2 if len(p2) else '')] = PiglitGLTest(' '.join(['arb_color_buffer_float-' + name, format, p1, p2]), run_concurrent=True)
+    group = format + '-' + name + ('-' + p1 if len(p1) else '') + ('-' + p2 if len(p2) else '')
+    arb_color_buffer_float[group] = PiglitGLTest(
+        ['arb_color_buffer_float-' + name, format, p1, p2],
+        run_concurrent=True)
 
 arb_color_buffer_float = {}
 spec['ARB_color_buffer_float'] = arb_color_buffer_float
-- 
2.2.1



More information about the Piglit mailing list