From 0d48bff983f658cdcbdc2dfd26929f9be6f8e125 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Fri, 7 Jan 2011 15:08:14 -0800 Subject: Use import_glsl_parser_tests instead of open coding it --- framework/glsl_parser_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework') 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: -- cgit v1.2.3