summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2011-01-07 15:08:14 -0800
committerIan Romanick <ian.d.romanick@intel.com>2011-01-07 15:41:56 -0800
commit0d48bff983f658cdcbdc2dfd26929f9be6f8e125 (patch)
treea53be7d92f11c9f895622752604b6bd867db706b /framework
parent8eca0f638ab4c67823b724837937bebc545dad86 (diff)
Use import_glsl_parser_tests instead of open coding it
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: