summaryrefslogtreecommitdiffstats
path: root/webkit/tools/layout_tests/rebaseline.py
diff options
context:
space:
mode:
authorvictorw@chromium.org <victorw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-15 18:50:22 +0000
committervictorw@chromium.org <victorw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-15 18:50:22 +0000
commit2379676a3c824fe0fce7d1dc3aff00c77078651c (patch)
treefd7cf14e8b660479830aaa49125071cbd58bc7a7 /webkit/tools/layout_tests/rebaseline.py
parenta808e4cf32d1323ad5838b7b13396fc9bfa866cd (diff)
downloadchromium_src-2379676a3c824fe0fce7d1dc3aff00c77078651c.zip
chromium_src-2379676a3c824fe0fce7d1dc3aff00c77078651c.tar.gz
chromium_src-2379676a3c824fe0fce7d1dc3aff00c77078651c.tar.bz2
Rebaselining tool: add an option to map platform name to build bot directory that stores archived layouttest results.
Also fix the mac directory name. TEST=rebaselining tool BUG=none Review URL: http://codereview.chromium.org/149653 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20758 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/layout_tests/rebaseline.py')
-rw-r--r--webkit/tools/layout_tests/rebaseline.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/webkit/tools/layout_tests/rebaseline.py b/webkit/tools/layout_tests/rebaseline.py
index c3af23c..97a9e2cb 100644
--- a/webkit/tools/layout_tests/rebaseline.py
+++ b/webkit/tools/layout_tests/rebaseline.py
@@ -259,8 +259,10 @@ class Rebaseliner(object):
"""
platform_name = self._options.buildbot_platform_dir_basename
- if not self._platform == 'win':
- platform_name += '-' + self._platform
+ if self._platform == 'mac':
+ platform_name += '-mac5'
+ elif self._platform == 'linux':
+ platform_name += '-linux'
logging.debug('Buildbot platform dir name: "%s"', platform_name)
url_base = '%s/%s/' % (self._options.archive_url, platform_name)