diff options
author | pam@chromium.org <pam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-31 20:47:00 +0000 |
---|---|---|
committer | pam@chromium.org <pam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-31 20:47:00 +0000 |
commit | 936f8faf45d8247c6a6838bbb355130f5164c2a5 (patch) | |
tree | 3ac1cfd3b79731b15b581287d8099d2a53e08f37 | |
parent | b146bf6d655d0c45a42561c62b733e2052dd6161 (diff) | |
download | chromium_src-936f8faf45d8247c6a6838bbb355130f5164c2a5.zip chromium_src-936f8faf45d8247c6a6838bbb355130f5164c2a5.tar.gz chromium_src-936f8faf45d8247c6a6838bbb355130f5164c2a5.tar.bz2 |
Fix calculation of whether we've seen a more precise path for a given test
already. This was making us run some webarchive tests we meant to be skipping.
BUG=9549
TEST=run layout tests, make sure nothing in webarchive/loading/ runs
Review URL: http://codereview.chromium.org/56117
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12907 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | webkit/tools/layout_tests/layout_package/test_expectations.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/tools/layout_tests/layout_package/test_expectations.py b/webkit/tools/layout_tests/layout_package/test_expectations.py index 8fb283c..12abac6 100644 --- a/webkit/tools/layout_tests/layout_package/test_expectations.py +++ b/webkit/tools/layout_tests/layout_package/test_expectations.py @@ -383,7 +383,7 @@ class TestExpectationsFile: return True # Check if we've already seen a more precise path. - return prev_base_path.startswith(test_list_path) + return prev_base_path.startswith(os.path.normpath(test_list_path)) def _AddError(self, lineno, msg, path): self._errors.append('\nLine:%s %s\n%s' % (lineno, msg, path)) |