[Piglit] [PATCH 04/45] gen_uniform_initializer_tests.py: fix double assignment
Dylan Baker
baker.dylan.c at gmail.com
Wed Nov 12 15:45:46 PST 2014
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 <dylanx.c.baker at intel.com>
---
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
More information about the Piglit
mailing list