Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(501)

Side by Side Diff: scripts/slave/recipe_modules/chromium_tests/tryserver_chromium_perf.py

Issue 2256123002: [perf] Refactor chromium.perf.fyi recipe config to reuse chromium.perf code. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Remove extra space Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « scripts/slave/recipe_modules/chromium_tests/chromium_perf_fyi.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from . import chromium_perf 5 from . import chromium_perf
6 6
7 import DEPS 7 import DEPS
8 CONFIG_CTX = DEPS['gclient'].CONFIG_CTX 8 CHROMIUM_CONFIG_CTX = DEPS['chromium'].CONFIG_CTX
9 GCLIENT_CONFIG_CTX = DEPS['gclient'].CONFIG_CTX
9 10
10 @CONFIG_CTX(includes=['chromium_perf'])
11 def tryserver_chromium_perf(c):
12 soln = c.solutions.add()
13 soln.name = 'catapult'
14 soln.url = ('https://chromium.googlesource.com/external/github.com/'
15 'catapult-project/catapult.git')
16 11
17 SPEC = { 12 SPEC = {
18 'builders': {}, 13 'builders': {},
19 'settings': chromium_perf.SPEC['settings'], 14 'settings': chromium_perf.SPEC['settings'],
20 } 15 }
21 16
22 17
18 @CHROMIUM_CONFIG_CTX(includes=['chromium_perf', 'goma_hermetic_fallback'])
19 def tryserver_chromium_perf(c):
20 # Bisects may build using old toolchains, so goma_hermetic_fallback is
21 # required. See https://codereview.chromium.org/1015633002
22 pass
23
24
25 @GCLIENT_CONFIG_CTX(includes=['chromium_perf'])
26 def tryserver_chromium_perf(c):
27 soln = c.solutions.add()
28 soln.name = 'catapult'
29 soln.url = ('https://chromium.googlesource.com/external/github.com/'
30 'catapult-project/catapult.git')
31
32
23 def _AddBuildSpec(name, platform, target_bits=64): 33 def _AddBuildSpec(name, platform, target_bits=64):
24 SPEC['builders'][name] = chromium_perf.BuildSpec( 34 SPEC['builders'][name] = chromium_perf.BuildSpec(
25 'tryserver_chromium_perf', None, platform, target_bits) 35 'tryserver_chromium_perf', None, platform, target_bits)
26 36
27 37
28 def _AddTestSpec(name, platform, target_bits=64): 38 def _AddTestSpec(name, platform, target_bits=64):
29 # TODO(dtu): Change this to TestSpec after try job builds are all offloaded 39 # TODO(dtu): Change this to TestSpec after try job builds are all offloaded
30 # to builders. 40 # to builders.
31 spec = chromium_perf.BuildSpec( 41 spec = chromium_perf.BuildSpec(
32 'tryserver_chromium_perf', None, platform, target_bits) 42 'tryserver_chromium_perf', None, platform, target_bits)
(...skipping 25 matching lines...) Expand all
58 _AddTestSpec('winx64ati_perf_bisect', 'win') 68 _AddTestSpec('winx64ati_perf_bisect', 'win')
59 _AddTestSpec('winx64intel_perf_bisect', 'win') 69 _AddTestSpec('winx64intel_perf_bisect', 'win')
60 _AddTestSpec('winx64nvidia_perf_bisect', 'win') 70 _AddTestSpec('winx64nvidia_perf_bisect', 'win')
61 71
62 _AddTestSpec('mac_10_11_perf_bisect', 'mac') 72 _AddTestSpec('mac_10_11_perf_bisect', 'mac')
63 _AddTestSpec('mac_10_10_perf_bisect', 'mac') 73 _AddTestSpec('mac_10_10_perf_bisect', 'mac')
64 _AddTestSpec('mac_retina_perf_bisect', 'mac') 74 _AddTestSpec('mac_retina_perf_bisect', 'mac')
65 _AddTestSpec('mac_hdd_perf_bisect', 'mac') 75 _AddTestSpec('mac_hdd_perf_bisect', 'mac')
66 76
67 _AddTestSpec('linux_perf_bisect', 'linux') 77 _AddTestSpec('linux_perf_bisect', 'linux')
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/chromium_tests/chromium_perf_fyi.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698