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

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

Issue 2030713004: Refactor chromium.perf recipe configs. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@2-refactorr
Patch Set: Rebase, hope it's right :) 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
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 7
8 SPEC = { 8 SPEC = {
9 'builders': {}, 9 'builders': {},
10 'settings': chromium_perf.SPEC['settings'], 10 'settings': chromium_perf.SPEC['settings'],
11 } 11 }
12 12
13 13
14 def _AddBuildSpec(name, platform, target_bits=64): 14 def _AddBuildSpec(name, platform, target_bits=64):
15 SPEC['builders'][name] = chromium_perf.BuildSpec(None, platform, target_bits) 15 SPEC['builders'][name] = chromium_perf.BuildSpec(
16 'tryserver_chromium_perf', None, platform, target_bits)
16 17
17 18
18 def _AddTestSpec(name, platform, target_bits=64): 19 def _AddTestSpec(name, platform, target_bits=64):
19 # TODO(dtu): Change this to TestSpec after try job builds are all offloaded 20 # TODO(dtu): Change this to TestSpec after try job builds are all offloaded
20 # to builders. 21 # to builders.
21 spec = chromium_perf.BuildSpec(None, platform, target_bits) 22 spec = chromium_perf.BuildSpec(
23 'tryserver_chromium_perf', None, platform, target_bits)
22 del spec['tests'] 24 del spec['tests']
23 SPEC['builders'][name] = spec 25 SPEC['builders'][name] = spec
24 26
25 27
26 _AddBuildSpec('win_perf_bisect_builder', 'win', target_bits=32) 28 _AddBuildSpec('win_perf_bisect_builder', 'win', target_bits=32)
27 _AddBuildSpec('winx64_bisect_builder', 'win') 29 _AddBuildSpec('winx64_bisect_builder', 'win')
28 _AddBuildSpec('mac_perf_bisect_builder', 'mac') 30 _AddBuildSpec('mac_perf_bisect_builder', 'mac')
29 _AddBuildSpec('linux_perf_bisect_builder', 'linux') 31 _AddBuildSpec('linux_perf_bisect_builder', 'linux')
30 32
31 33
(...skipping 15 matching lines...) Expand all
47 _AddTestSpec('winx64ati_perf_bisect', 'win') 49 _AddTestSpec('winx64ati_perf_bisect', 'win')
48 _AddTestSpec('winx64intel_perf_bisect', 'win') 50 _AddTestSpec('winx64intel_perf_bisect', 'win')
49 _AddTestSpec('winx64nvidia_perf_bisect', 'win') 51 _AddTestSpec('winx64nvidia_perf_bisect', 'win')
50 52
51 _AddTestSpec('mac_10_11_perf_bisect', 'mac') 53 _AddTestSpec('mac_10_11_perf_bisect', 'mac')
52 _AddTestSpec('mac_10_10_perf_bisect', 'mac') 54 _AddTestSpec('mac_10_10_perf_bisect', 'mac')
53 _AddTestSpec('mac_retina_perf_bisect', 'mac') 55 _AddTestSpec('mac_retina_perf_bisect', 'mac')
54 _AddTestSpec('mac_hdd_perf_bisect', 'mac') 56 _AddTestSpec('mac_hdd_perf_bisect', 'mac')
55 57
56 _AddTestSpec('linux_perf_bisect', 'linux') 58 _AddTestSpec('linux_perf_bisect', 'linux')
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698