summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rwxr-xr-xframework/glsl_parser_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/glsl_parser_test.py b/framework/glsl_parser_test.py
index 93b52cd5..66c435c1 100755
--- a/framework/glsl_parser_test.py
+++ b/framework/glsl_parser_test.py
@@ -47,11 +47,11 @@ def add_glsl_parser_test(group, filepath, test_name):
"""Add an instance of GLSLParserTest to the given group."""
group[test_name] = GLSLParserTest(filepath)
-def import_glsl_parser_tests(group, filepath, subdirectories):
+def import_glsl_parser_tests(group, basepath, subdirectories):
# Register each shader source file in the directories below as
# a GLSLParserTest.
for d in subdirectories:
- walk_dir = path.join(filepath, d)
+ walk_dir = path.join(basepath, d)
for (dirpath, dirnames, filenames) in os.walk(walk_dir):
# Ignore dirnames.
for f in filenames: