diff options
author | Kenney Phillis <kphillisjr@gmail.com> | 2012-07-15 04:25:19 -0500 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2012-07-16 20:13:58 +0100 |
commit | 03c992ddb51fe7d39777967c94376019f7c19929 (patch) | |
tree | d95d70d697f34027e5cda734e81e21242f43b6fe | |
parent | bb7c32fe15bd28dfbf4d098299d2fc4f4b5a98c7 (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>
-rwxr-xr-x | framework/glsl_parser_test.py | 2 |
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, |