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/recipes/chromium_trybot.py

Issue 1347263002: Revert of Cross-repo recipe package system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 5 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « scripts/slave/recipes/chromium_pgo.py ('k') | scripts/slave/recipes/chromium_trybot_legacy.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 import collections 5 import collections
6 6
7 from recipe_engine.types import freeze 7 from infra.libs.infra_types import freeze
8 8
9 DEPS = [ 9 DEPS = [
10 'amp', 10 'amp',
11 'bot_update', 11 'bot_update',
12 'chromium', 12 'chromium',
13 'chromium_android', 13 'chromium_android',
14 'chromium_tests', 14 'chromium_tests',
15 'file',
16 'gclient', 15 'gclient',
17 'gpu', 16 'gpu',
18 'isolate', 17 'isolate',
18 'itertools',
19 'json', 19 'json',
20 'path', 20 'path',
21 'platform', 21 'platform',
22 'properties', 22 'properties',
23 'python', 23 'python',
24 'raw_io', 24 'raw_io',
25 'step', 25 'step',
26 'swarming', 26 'swarming',
27 'test_utils', 27 'test_utils',
28 'tryserver', 28 'tryserver',
(...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after
801 override_bot_type='builder_tester') 801 override_bot_type='builder_tester')
802 802
803 if not tests: 803 if not tests:
804 return 804 return
805 805
806 api.chromium_tests.run_tests_and_deapply_as_needed(mastername, api, tests, 806 api.chromium_tests.run_tests_and_deapply_as_needed(mastername, api, tests,
807 bot_update_step) 807 bot_update_step)
808 808
809 809
810 def RunSteps(api): 810 def RunSteps(api):
811 # build/tests/masters_recipes_tests.py needs to manipulate the BUILDERS
812 # dict, so we provide an API to dump it here.
813 if api.properties.get('dump_builders'): # pragma: no cover
814 api.file.copy('Dump BUILDERS dict',
815 api.json.input(BUILDERS), api.properties['dump_builders'])
816 return
817
818 with api.tryserver.set_failure_hash(): 811 with api.tryserver.set_failure_hash():
819 return _RunStepsInternal(api) 812 return _RunStepsInternal(api)
820 813
821 814
822 def _sanitize_nonalpha(text): 815 def _sanitize_nonalpha(text):
823 return ''.join(c if c.isalnum() else '_' for c in text) 816 return ''.join(c if c.isalnum() else '_' for c in text)
824 817
825 818
826 def GenTests(api): 819 def GenTests(api):
827 canned_test = api.test_utils.canned_gtest_output 820 canned_test = api.test_utils.canned_gtest_output
(...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after
1527 api.test_utils.canned_test_output(passing=True)) 1520 api.test_utils.canned_test_output(passing=True))
1528 ) 1521 )
1529 1522
1530 yield ( 1523 yield (
1531 api.test('use_v8_patch_on_blink_trybot') + 1524 api.test('use_v8_patch_on_blink_trybot') +
1532 props(mastername='tryserver.blink', 1525 props(mastername='tryserver.blink',
1533 buildername='mac_blink_rel', 1526 buildername='mac_blink_rel',
1534 patch_project='v8') + 1527 patch_project='v8') +
1535 api.platform.name('mac') 1528 api.platform.name('mac')
1536 ) 1529 )
OLDNEW
« no previous file with comments | « scripts/slave/recipes/chromium_pgo.py ('k') | scripts/slave/recipes/chromium_trybot_legacy.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698