summaryrefslogtreecommitdiffstats
path: root/webkit/tools/layout_tests/run_webkit_tests.py
diff options
context:
space:
mode:
authorojan@google.com <ojan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-20 01:15:44 +0000
committerojan@google.com <ojan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-20 01:15:44 +0000
commit4e96f295b07947c65f291828eb72f38655e8f619 (patch)
tree7248c72eb1d48aa70ab8ddb5095fe75810764402 /webkit/tools/layout_tests/run_webkit_tests.py
parent0f960456d6cf88e7427ef2728e67141a064f58c6 (diff)
downloadchromium_src-4e96f295b07947c65f291828eb72f38655e8f619.zip
chromium_src-4e96f295b07947c65f291828eb72f38655e8f619.tar.gz
chromium_src-4e96f295b07947c65f291828eb72f38655e8f619.tar.bz2
Make the paths in the layout test dashboard point to the actual JSON
files now that they're available on the bots. Also a couple bug fixes: -Don't remove whitespace from the expectations JSON since there is legitimate whitespace in the values. -Fix bug in generated HTML for the links in the header. Review URL: http://codereview.chromium.org/173096 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23789 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/layout_tests/run_webkit_tests.py')
-rwxr-xr-xwebkit/tools/layout_tests/run_webkit_tests.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/webkit/tools/layout_tests/run_webkit_tests.py b/webkit/tools/layout_tests/run_webkit_tests.py
index 4938871..807467e 100755
--- a/webkit/tools/layout_tests/run_webkit_tests.py
+++ b/webkit/tools/layout_tests/run_webkit_tests.py
@@ -601,9 +601,8 @@ class TestRunner:
# TODO(ojan): Generate JSON using a JSON library instead of relying on
# GetExpectationsForAllPlatforms returning an object that only uses
# primitive types.
- # Strip whitespace to reduce filesize.
- expectations_json = re.sub(r'\s+', '',
- repr(self._expectations.GetExpectationsForAllPlatforms()))
+ expectations_json = repr(
+ self._expectations.GetExpectationsForAllPlatforms())
expectations_file.write(("ADD_EXPECTATIONS(" + expectations_json + ");"))
expectations_file.close()