summaryrefslogtreecommitdiff
path: root/framework/glsl_parser_test.py
diff options
context:
space:
mode:
authorKenney Phillis <kphillisjr@gmail.com>2012-07-15 04:25:19 -0500
committerJosé Fonseca <jfonseca@vmware.com>2012-07-16 20:13:58 +0100
commit03c992ddb51fe7d39777967c94376019f7c19929 (patch)
treed95d70d697f34027e5cda734e81e21242f43b6fe /framework/glsl_parser_test.py
parentbb7c32fe15bd28dfbf4d098299d2fc4f4b5a98c7 (diff)
Changed test name generation so that regardless of OS path seperator, the test name will always use '/'.
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'framework/glsl_parser_test.py')
-rwxr-xr-xframework/glsl_parser_test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/glsl_parser_test.py b/framework/glsl_parser_test.py
index 0d9798667..66e6dd366 100755
--- a/framework/glsl_parser_test.py
+++ b/framework/glsl_parser_test.py
@@ -74,6 +74,8 @@ def import_glsl_parser_tests(group, basepath, subdirectories):
# basepath.
testname = os.path.relpath(
filepath, basepath)
+ if os.path.sep != '/':
+ testname = testname.replace(os.path.sep, '/', -1)
assert isinstance(testname, basestring)
add_glsl_parser_test(
group,