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

Side by Side Diff: scripts/master/factory/swarm_factory.py

Issue 24565004: Split swarm_triggered into 3 builders to make it easier on devs. (Closed) Base URL: https://chromium.googlesource.com/a/chromium/tools/build.git@master
Patch Set: do not remove swarm_triggered yet. Created 7 years, 2 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/master/factory/chromium_commands.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 (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 """Utility class to build the Swarm master BuildFactory's. 5 """Utility class to build the Swarm master BuildFactory's.
6 6
7 Based on chromium_factory.py and adds chromium-on-swarm-specific steps. 7 Based on chromium_factory.py and adds chromium-on-swarm-specific steps.
8 8
9 Common usage: 9 Common usage:
10 - For a split builder&tester configuration, use: 10 - For a split builder&tester configuration, use:
11 - One ChromiumFactory() builder with 'run_default_swarm_tests' set to the list 11 - One ChromiumFactory() builder with 'run_default_swarm_tests' set to the list
12 of tests to run on Swarm on the 'tester'. 12 of tests to run on Swarm on the 'tester'.
13 - One SwarmTestBuilder() builder named 'swarm_triggered', the builder name 13 - One SwarmTestBuilder() builder named something like 'linux_swarm_triggered'.
14 is currently hardcoded. 14 It is defined as fp['triggered_builder']
15 15
16 - For a single buildertester configuration, use: 16 - For a single buildertester configuration, use:
17 - SwarmFactory() 17 - SwarmFactory()
18 """ 18 """
19 19
20 from master.factory import build_factory 20 from master.factory import build_factory
21 from master.factory import chromium_factory 21 from master.factory import chromium_factory
22 from master.factory import swarm_commands 22 from master.factory import swarm_commands
23 23
24 24
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 171
172 # Reorder the tests by the order specified in SWARM_TESTS. E.g. the slower 172 # Reorder the tests by the order specified in SWARM_TESTS. E.g. the slower
173 # tests are retrieved last. 173 # tests are retrieved last.
174 for swarm_test in SWARM_TESTS: 174 for swarm_test in SWARM_TESTS:
175 if swarm_test.test_name in tests: 175 if swarm_test.test_name in tests:
176 tests.remove(swarm_test.test_name) 176 tests.remove(swarm_test.test_name)
177 swarm_command_obj.AddIsolateTest(swarm_test.test_name) 177 swarm_command_obj.AddIsolateTest(swarm_test.test_name)
178 178
179 assert not tests 179 assert not tests
180 return f 180 return f
OLDNEW
« no previous file with comments | « scripts/master/factory/chromium_commands.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698