aboutsummaryrefslogtreecommitdiff
path: root/buildbot_test_llvm.py
diff options
context:
space:
mode:
authorManoj Gupta <manojgupta@google.com>2017-03-08 10:51:28 -0800
committerchrome-bot <chrome-bot@chromium.org>2017-03-08 14:53:31 -0800
commitd575b8a8f3ef6b7393cd99606041f95ffbf1bfa0 (patch)
tree1341f664e76f387d3bb77451e3ad85d36b4065b7 /buildbot_test_llvm.py
parent92470bc29ad10b5c6409c1ba76697082fa6ef3ee (diff)
downloadtoolchain-utils-d575b8a8f3ef6b7393cd99606041f95ffbf1bfa0.tar.gz
Update toolchain buildbot test scripts for llvm profile removal.
llvm profile is no longer required. Update buildbot test scripts accordingly. BUG=chromium:699594 TEST=Verified by launching dummy jobs on chrotomation2. Change-Id: Ife411414aedd427268b5c29310fa2b15457feb52 Reviewed-on: https://chromium-review.googlesource.com/451719 Commit-Ready: Manoj Gupta <manojgupta@chromium.org> Tested-by: Manoj Gupta <manojgupta@chromium.org> Reviewed-by: Caroline Tice <cmtice@chromium.org> Reviewed-by: Yunlian Jiang <yunlian@chromium.org>
Diffstat (limited to 'buildbot_test_llvm.py')
-rwxr-xr-xbuildbot_test_llvm.py33
1 files changed, 14 insertions, 19 deletions
diff --git a/buildbot_test_llvm.py b/buildbot_test_llvm.py
index a43db752..94a7e68c 100755
--- a/buildbot_test_llvm.py
+++ b/buildbot_test_llvm.py
@@ -23,9 +23,6 @@ from cros_utils import logger
from cros_utils import buildbot_utils
-# CL that uses LLVM to build the peppy image.
-USE_LLVM_PATCH = '295217'
-
CROSTC_ROOT = '/usr/local/google/crostc'
ROLE_ACCOUNT = 'mobiletc-prebuild'
TOOLCHAIN_DIR = os.path.dirname(os.path.realpath(__file__))
@@ -34,18 +31,18 @@ VALIDATION_RESULT_DIR = os.path.join(CROSTC_ROOT, 'validation_result')
START_DATE = datetime.date(2016, 1, 1)
TEST_PER_DAY = 2
TEST_BOARD = [
- 'squawks', # x86_64, rambi (baytrail)
- 'terra', # x86_64, strago (braswell)
- 'lulu', # x86_64, auron (broadwell)
- 'peach_pit', # arm, peach (exynos-5420)
- 'peppy', # x86_64, slippy (haswell celeron)
- 'link', # x86_64, ivybridge (ivybridge)
- 'nyan_big', # arm, nyan (tegra)
- 'sentry', # x86_64, kunimitsu (skylake-u)
- 'chell', # x86_64, glados (skylake-y)
- 'daisy', # arm, daisy (exynos)
- 'caroline', # amd64
- 'kevin', # arm, gru (Rockchip)
+ 'squawks', # x86_64, rambi (baytrail)
+ 'terra', # x86_64, strago (braswell)
+ 'lulu', # x86_64, auron (broadwell)
+ 'peach_pit', # arm, peach (exynos-5420)
+ 'peppy', # x86_64, slippy (haswell celeron)
+ 'link', # x86_64, ivybridge (ivybridge)
+ 'nyan_big', # arm, nyan (tegra)
+ 'sentry', # x86_64, kunimitsu (skylake-u)
+ 'chell', # x86_64, glados (skylake-y)
+ 'daisy', # arm, daisy (exynos)
+ 'caroline', # amd64
+ 'kevin', # arm, gru (Rockchip)
]
@@ -99,6 +96,7 @@ class ToolchainVerifier(object):
return 0
+
def Main(argv):
"""The main function."""
@@ -136,13 +134,10 @@ def Main(argv):
if not options.compiler:
print('Please specify which compiler to test (gcc, llvm, or llvm-next).')
return 1
- patches = options.patches
- if not patches and options.compiler == 'llvm':
- patches = USE_LLVM_PATCH
if options.board:
fv = ToolchainVerifier(options.board, options.chromeos_root,
- options.weekday, patches, options.compiler)
+ options.weekday, options.patches, options.compiler)
return fv.Doall()
today = datetime.date.today()