From d575b8a8f3ef6b7393cd99606041f95ffbf1bfa0 Mon Sep 17 00:00:00 2001 From: Manoj Gupta Date: Wed, 8 Mar 2017 10:51:28 -0800 Subject: 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 Tested-by: Manoj Gupta Reviewed-by: Caroline Tice Reviewed-by: Yunlian Jiang --- buildbot_test_llvm.py | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) (limited to 'buildbot_test_llvm.py') 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() -- cgit v1.2.3