diff options
-rwxr-xr-x | buildbot_test_llvm.py | 1 | ||||
-rwxr-xr-x | buildbot_test_toolchains.py | 1 | ||||
-rw-r--r-- | cros_utils/buildbot_utils.py | 9 |
3 files changed, 9 insertions, 2 deletions
diff --git a/buildbot_test_llvm.py b/buildbot_test_llvm.py index 6df77189..2c8131e5 100755 --- a/buildbot_test_llvm.py +++ b/buildbot_test_llvm.py @@ -129,6 +129,7 @@ class ToolchainVerifier(object): self._build, self._patches, description, + other_flags=['--hwtest'], build_toolchain=True) if len(trybot_image) == 0: self._l.LogError('Unable to find trybot_image for %s!' % description) diff --git a/buildbot_test_toolchains.py b/buildbot_test_toolchains.py index 1535afde..b9f6c500 100755 --- a/buildbot_test_toolchains.py +++ b/buildbot_test_toolchains.py @@ -296,6 +296,7 @@ class ToolchainComparator(object): self._build, self._patches, description, + other_flags=['--notests'], build_toolchain=True) if len(trybot_image) == 0: diff --git a/cros_utils/buildbot_utils.py b/cros_utils/buildbot_utils.py index a80b7ad4..a3813fa5 100644 --- a/cros_utils/buildbot_utils.py +++ b/cros_utils/buildbot_utils.py @@ -177,6 +177,7 @@ def GetTrybotImage(chromeos_root, buildbot_name, patch_list, build_tag, + other_flags=[], build_toolchain=False): """Launch buildbot and get resulting trybot artifact name. @@ -208,13 +209,17 @@ def GetTrybotImage(chromeos_root, if build_toolchain: toolchain_flags += '--latest-toolchain' os.chdir(cbuildbot_path) + if other_flags: + optional_flags = ' '.join(other_flags) + else: + optional_flags = '' # Launch buildbot with appropriate flags. build = buildbot_name description = build_tag - command = ('./cbuildbot --remote --nochromesdk --notests' + command = ('./cbuildbot --remote --nochromesdk %s' ' --remote-description=%s %s %s %s' % - (description, toolchain_flags, patch_arg, build)) + (optional_flags, description, toolchain_flags, patch_arg, build)) _, out, _ = ce.RunCommandWOutput(command) if 'Tryjob submitted!' not in out: logger.GetLogger().LogFatal('Error occurred while launching trybot job: ' |