From 03c992ddb51fe7d39777967c94376019f7c19929 Mon Sep 17 00:00:00 2001 From: Kenney Phillis Date: Sun, 15 Jul 2012 04:25:19 -0500 Subject: Changed test name generation so that regardless of OS path seperator, the test name will always use '/'. Reviewed-by: Jose Fonseca --- framework/glsl_parser_test.py | 2 ++ 1 file changed, 2 insertions(+) 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, -- cgit v1.2.3