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

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: 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 'swarm_triggered'. It is
Mike Stip (use stip instead) 2013/09/26 01:03:05 probably want to say 'named something like linux_s
14 is currently hardcoded. 14 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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 # Reorder the tests by the order specified in SWARM_TESTS. E.g. the slower 177 # Reorder the tests by the order specified in SWARM_TESTS. E.g. the slower
178 # tests are retrieved last. 178 # tests are retrieved last.
179 for swarm_test in SWARM_TESTS: 179 for swarm_test in SWARM_TESTS:
180 if swarm_test.test_name in tests: 180 if swarm_test.test_name in tests:
181 tests.remove(swarm_test.test_name) 181 tests.remove(swarm_test.test_name)
182 swarm_command_obj.AddIsolateTest( 182 swarm_command_obj.AddIsolateTest(
183 swarm_test.test_name, using_ninja=using_ninja) 183 swarm_test.test_name, using_ninja=using_ninja)
184 184
185 assert not tests 185 assert not tests
186 return f 186 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