[Piglit] [PATCH 3/3] tests/all.tests: Add missing Group() initialization

jfonseca at vmware.com jfonseca at vmware.com
Tue Feb 5 08:20:18 PST 2013

From: José Fonseca <jfonseca at vmware.com>

These tests were relying on the generated tests discovery to create
empty groups from empty directories. However empty directories
were not being packaging, causing Python KeyError exceptions.

This change adds the Group initialization, like done elsewhere.
 tests/all.tests |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/all.tests b/tests/all.tests
index 5a76926..2413558 100644
--- a/tests/all.tests
+++ b/tests/all.tests
@@ -705,9 +705,11 @@ add_shader_test_dir(spec['glsl-1.10']['execution'],
 	            os.path.join(testsDir, 'spec', 'glsl-1.10', 'execution'),
 add_concurrent_test(spec['glsl-1.10']['execution'], 'glsl-render-after-bad-attach')
+spec['glsl-1.10']['execution']['clipping'] = Group()
 for mode in ['fixed', 'pos_clipvert', 'clipvert_pos']:
 	cmdline = 'clip-plane-transformation ' + mode
 	spec['glsl-1.10']['execution']['clipping'][cmdline] = concurrent_test(cmdline)
+spec['glsl-1.10']['execution']['varying-packing'] = Group()
 for type in ['int', 'uint', 'float', 'vec2', 'vec3', 'vec4', 'ivec2', 'ivec3',
              'ivec4', 'uvec2', 'uvec3', 'uvec4', 'mat2', 'mat3', 'mat4',
              'mat2x3', 'mat2x4', 'mat3x2', 'mat3x4', 'mat4x2', 'mat4x3']:

More information about the Piglit mailing list