From cdd1907fbc70663a258f5d61d27668cd0823a51a Mon Sep 17 00:00:00 2001 From: Yunlian Jiang Date: Fri, 29 Sep 2017 10:15:56 -0700 Subject: buildbot_test_toolchain: return 2 if trybot fails. We will print out the trybot url in the sheriff email if the trybot fails. To to that, we need to set return value to 2 if the trybot fails. BUG=chromium:767524 TEST=None Change-Id: Id3a8eb2cbcb8f85ada28ea11d4faf9113c9369ba Reviewed-on: https://chromium-review.googlesource.com/692620 Commit-Ready: Yunlian Jiang Tested-by: Yunlian Jiang Reviewed-by: Manoj Gupta --- buildbot_test_toolchains.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buildbot_test_toolchains.py') diff --git a/buildbot_test_toolchains.py b/buildbot_test_toolchains.py index 249b511c..33d73a23 100755 --- a/buildbot_test_toolchains.py +++ b/buildbot_test_toolchains.py @@ -270,7 +270,7 @@ class ToolchainComparator(object): % build_id) if len(trybot_image) == 0: self._l.LogError('Unable to find trybot_image for %s!' % description) - return 1 + return 2 vanilla_image = self._GetVanillaImageName(trybot_image) nonafdo_image = self._GetNonAFDOImageName(trybot_image) -- cgit v1.2.3