summaryrefslogtreecommitdiff
path: root/generated_tests
diff options
context:
space:
mode:
authorDylan Baker <dylanx.c.baker@intel.com>2014-11-12 13:09:41 -0800
committerDylan Baker <dylanx.c.baker@intel.com>2014-12-01 10:16:34 -0800
commit3616cecdee3b6c15c33b4998b607f401ecd131b5 (patch)
tree32c936c437c3c03a83fb7edc25e75982cae00470 /generated_tests
parent4eab7d7ebd084ac25b04d66b82b748201af0567e (diff)
gen_uniform_initializer_tests.py: fix double assignment
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@intel.com>
Diffstat (limited to 'generated_tests')
-rw-r--r--generated_tests/gen_uniform_initializer_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/generated_tests/gen_uniform_initializer_tests.py b/generated_tests/gen_uniform_initializer_tests.py
index 9474e7b2f..0fbd98650 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',