diff options
author | Ting-Yuan Huang <laszio@chromium.org> | 2017-04-24 20:34:43 -0700 |
---|---|---|
committer | Manoj Gupta <manojgupta@chromium.org> | 2017-04-25 05:23:19 +0000 |
commit | 99d32c4981138fd11e6b351b6be9311932293464 (patch) | |
tree | 0d2ab38d3643ee1b5de7122d154e18af9bdaaceb /buildbot_test_toolchains.py | |
parent | 4ed81bc349a55c918ae59c7dbe3be0d489d9004c (diff) | |
download | toolchain-utils-99d32c4981138fd11e6b351b6be9311932293464.tar.gz |
buildbot_test_toolchains: get latest instead green vanilla build
So as to work around the problem that some builders' latest green
builds are too old.
BUG=chromium:714890
TEST=Tested _GetVanillaImageName locally.
Change-Id: I06571f3d55743fb56977d7ef56a51fcddfdda62e
Reviewed-on: https://chromium-review.googlesource.com/486086
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
Commit-Queue: Ting-Yuan Huang <laszio@chromium.org>
Tested-by: Ting-Yuan Huang <laszio@chromium.org>
Trybot-Ready: Ting-Yuan Huang <laszio@chromium.org>
Diffstat (limited to 'buildbot_test_toolchains.py')
-rwxr-xr-x | buildbot_test_toolchains.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/buildbot_test_toolchains.py b/buildbot_test_toolchains.py index 58c2668b..c03c009c 100755 --- a/buildbot_test_toolchains.py +++ b/buildbot_test_toolchains.py @@ -99,9 +99,7 @@ class ToolchainComparator(object): mo = re.search(TRYBOT_IMAGE_RE, trybot_image) assert mo dirname = IMAGE_DIR.replace('\\', '').format(**mo.groupdict()) - version = buildbot_utils.GetGSContent(self._chromeos_root, - dirname + '/LATEST-master') - return dirname + '/' + version + return buildbot_utils.GetLatestImage(self._chromeos_root, dirname) def _GetNonAFDOImageName(self, trybot_image): """Given a trybot artifact name, get corresponding non-AFDO image name. |