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

Side by Side Diff: scripts/slave/recipes/chromium.py

Issue 688473003: Added swarming step to the Blink trybots (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Rebase Created 6 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 DEPS = [ 5 DEPS = [
6 'adb', 6 'adb',
7 'chromium', 7 'chromium',
8 'chromium_android', 8 'chromium_android',
9 'chromium_tests', 9 'chromium_tests',
10 'isolate', 10 'isolate',
(...skipping 15 matching lines...) Expand all
26 update_step, master_dict, test_spec = \ 26 update_step, master_dict, test_spec = \
27 api.chromium_tests.sync_and_configure_build(mastername, buildername) 27 api.chromium_tests.sync_and_configure_build(mastername, buildername)
28 api.chromium_tests.compile(mastername, buildername, update_step, master_dict, 28 api.chromium_tests.compile(mastername, buildername, update_step, master_dict,
29 test_spec) 29 test_spec)
30 tests = api.chromium_tests.tests_for_builder( 30 tests = api.chromium_tests.tests_for_builder(
31 mastername, buildername, update_step, master_dict) 31 mastername, buildername, update_step, master_dict)
32 32
33 if not tests: 33 if not tests:
34 return 34 return
35 35
36 api.swarming.default_priority = 25 36 api.chromium_tests.configure_swarming('chromium', precommit=False)
37 api.swarming.set_default_dimension('pool', 'Chrome')
38 api.swarming.add_default_tag('project:chromium')
39 api.swarming.add_default_tag('purpose:CI')
40 api.swarming.default_idempotent = True
41 37
42 def test_runner(): 38 def test_runner():
43 failed_tests = [] 39 failed_tests = []
44 #TODO(martiniss) convert loop 40 #TODO(martiniss) convert loop
45 for t in tests: 41 for t in tests:
46 try: 42 try:
47 t.pre_run(api, '') 43 t.pre_run(api, '')
48 except api.step.StepFailure: # pragma: no cover 44 except api.step.StepFailure: # pragma: no cover
49 failed_tests.append(t) 45 failed_tests.append(t)
50 for t in tests: 46 for t in tests:
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 yield ( 349 yield (
354 api.test('perf_test_profile_failure') + 350 api.test('perf_test_profile_failure') +
355 api.properties.generic(mastername='chromium.perf', 351 api.properties.generic(mastername='chromium.perf',
356 buildername='Linux Perf (1)', 352 buildername='Linux Perf (1)',
357 parent_buildername='Linux Builder', 353 parent_buildername='Linux Builder',
358 buildnumber=0) + 354 buildnumber=0) +
359 api.platform('linux', 64) + 355 api.platform('linux', 64) +
360 api.override_step_data( 356 api.override_step_data(
361 'blink_perf.all.release', retcode=1) 357 'blink_perf.all.release', retcode=1)
362 ) 358 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698