summaryrefslogtreecommitdiff
path: root/framework/glsl_parser_test.py
diff options
context:
space:
mode:
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,