diff options
author | ojan@google.com <ojan@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-06 21:54:42 +0000 |
---|---|---|
committer | ojan@google.com <ojan@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-06 21:54:42 +0000 |
commit | 427ffd3d3db0f56f5d96b91e2d7cdb1f78af832f (patch) | |
tree | b5e8b4216c4d3091660f5819175bdb4fc570fa4b /webkit | |
parent | b2204fb914f96e9cc505c640aeb7986b25124ca0 (diff) | |
download | chromium_src-427ffd3d3db0f56f5d96b91e2d7cdb1f78af832f.zip chromium_src-427ffd3d3db0f56f5d96b91e2d7cdb1f78af832f.tar.gz chromium_src-427ffd3d3db0f56f5d96b91e2d7cdb1f78af832f.tar.bz2 |
Fix another separator problem with windows path handling.
We were bucketting all windows files into the "C:" bucket. :(
Review URL: http://codereview.chromium.org/62077
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13197 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rwxr-xr-x | webkit/tools/layout_tests/run_webkit_tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/tools/layout_tests/run_webkit_tests.py b/webkit/tools/layout_tests/run_webkit_tests.py index f2ebd32..6d2387e 100755 --- a/webkit/tools/layout_tests/run_webkit_tests.py +++ b/webkit/tools/layout_tests/run_webkit_tests.py @@ -302,9 +302,9 @@ class TestRunner: # TODO(ojan): See if we can grab the lowest level directory. That will # provide better parallelization. We should at least be able to do so # for some directories (e.g. LayoutTests/dom). - index = test_file.rfind('/LayoutTests/') + index = test_file.rfind(os.sep + 'LayoutTests' + os.sep) if index is -1: - index = test_file.rfind('/chrome/') + index = test_file.rfind(os.sep + 'chrome' + os.sep) test_file = test_file[index + 1:] test_file_parts = test_file.split(os.sep, 1) |