This is one of those odd python features, the ability to assign multiple values at a time. Of course, that's not what the original commiter intended (it wasn't me for once). It doesn't cause any problems now, but it's odd to look at.
Signed-off-by: Dylan Baker <[email protected]> --- generated_tests/gen_uniform_initializer_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generated_tests/gen_uniform_initializer_tests.py b/generated_tests/gen_uniform_initializer_tests.py index 9474e7b..0fbd986 100644 --- a/generated_tests/gen_uniform_initializer_tests.py +++ b/generated_tests/gen_uniform_initializer_tests.py @@ -61,7 +61,7 @@ def generate_tests(type_list, base_name, major, minor): template = f.read() f.close() - test_file_name = dirname = os.path.join( + test_file_name = os.path.join( 'spec', 'glsl-{0}.{1}'.format(major, minor), 'execution', @@ -122,7 +122,7 @@ def generate_array_tests(type_list, base_name, major, minor): template = f.read() f.close() - test_file_name = dirname = os.path.join( + test_file_name = os.path.join( 'spec', 'glsl-{0}.{1}'.format(major, minor), 'execution', -- 2.1.3 _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
