diff options
author | Vinson Lee <vlee@vmware.com> | 2011-04-21 14:54:33 -0700 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2011-04-21 14:54:33 -0700 |
commit | da5d9a705112c3b3d7e9d92e8d1ea4a9971fc723 (patch) | |
tree | c31a941872f5aa3ec481e3d7a3fe1e636e84d049 /framework | |
parent | a76b22db7acfdcce8cf683ecefc3449b498bf7f5 (diff) |
core: Use forward slash as separator for GLSL group names.
The rest of piglit assumes that forward slash is the separator for the
group name. This patch fixes the summary HTML results on Windows. Tests
are now properly displayed in subgroups instead of the entire group name
listed as part of the test name.
Diffstat (limited to 'framework')
-rwxr-xr-x | framework/glsl_parser_test.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/glsl_parser_test.py b/framework/glsl_parser_test.py index 03511254..f4c2a022 100755 --- a/framework/glsl_parser_test.py +++ b/framework/glsl_parser_test.py @@ -72,8 +72,7 @@ def import_glsl_parser_tests(group, basepath, subdirectories): filepath = path.join(dirpath, f) # testname := filepath with initial # three directories removed. - sep = os.sep - testname = sep.join(filepath.split(sep)[3:]) + testname = '/'.join(filepath.split(os.sep)[3:]) assert(type(testname) is str) add_glsl_parser_test( group, |