OLD | NEW |
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 'bisect_tester', | 7 'bisect_tester', |
8 'depot_tools/bot_update', | 8 'depot_tools/bot_update', |
9 'chromium', | 9 'chromium', |
10 'chromium_android', | 10 'chromium_android', |
11 'chromium_swarming', | 11 'chromium_swarming', |
12 'chromium_tests', | 12 'chromium_tests', |
13 'commit_position', | 13 'commit_position', |
14 'file', | 14 'file', |
15 'isolate', | 15 'isolate', |
| 16 'gsutil', |
16 'recipe_engine/json', | 17 'recipe_engine/json', |
17 'recipe_engine/path', | 18 'recipe_engine/path', |
18 'recipe_engine/platform', | 19 'recipe_engine/platform', |
19 'recipe_engine/properties', | 20 'recipe_engine/properties', |
20 'recipe_engine/python', | 21 'recipe_engine/python', |
21 'recipe_engine/raw_io', | 22 'recipe_engine/raw_io', |
22 'recipe_engine/step', | 23 'recipe_engine/step', |
| 24 'recipe_engine/tempfile', |
23 'swarming', | 25 'swarming', |
24 'test_results', | 26 'test_results', |
25 'test_utils', | 27 'test_utils', |
26 ] | 28 ] |
27 | 29 |
28 from recipe_engine import config_types | 30 from recipe_engine import config_types |
29 | 31 |
30 def ignore_undumpable(obj): # pragma: no cover | 32 def ignore_undumpable(obj): # pragma: no cover |
31 try: | 33 try: |
32 return config_types.json_fixup(obj) | 34 return config_types.json_fixup(obj) |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 | 99 |
98 properties = { | 100 properties = { |
99 'mastername': mastername, | 101 'mastername': mastername, |
100 'buildername': buildername, | 102 'buildername': buildername, |
101 'parent_buildername': bot_config.get('parent_buildername'), | 103 'parent_buildername': bot_config.get('parent_buildername'), |
102 'build_data_dir': api.path['root'].join('build_data_dir'), | 104 'build_data_dir': api.path['root'].join('build_data_dir'), |
103 'path_config': 'kitchen', | 105 'path_config': 'kitchen', |
104 } | 106 } |
105 if mastername == 'chromium.webkit': | 107 if mastername == 'chromium.webkit': |
106 properties['gs_acl'] = 'public-read' | 108 properties['gs_acl'] = 'public-read' |
| 109 if buildername == 'Android Find Annotated Test': |
| 110 properties['current_time'] = '20160101T000000' |
107 test = ( | 111 test = ( |
108 api.test('full_%s_%s' % (_sanitize_nonalpha(mastername), | 112 api.test('full_%s_%s' % (_sanitize_nonalpha(mastername), |
109 _sanitize_nonalpha(buildername))) + | 113 _sanitize_nonalpha(buildername))) + |
110 api.properties.generic(**properties) + | 114 api.properties.generic(**properties) + |
111 api.platform(bot_config['testing']['platform'], | 115 api.platform(bot_config['testing']['platform'], |
112 bot_config.get( | 116 bot_config.get( |
113 'chromium_config_kwargs', {}).get('TARGET_BITS', 64)) | 117 'chromium_config_kwargs', {}).get('TARGET_BITS', 64)) |
114 ) | 118 ) |
115 | 119 |
116 if bot_config.get('parent_buildername'): | 120 if bot_config.get('parent_buildername'): |
(...skipping 1189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1306 yield ( | 1310 yield ( |
1307 api.test('ensure_goma_fail') + | 1311 api.test('ensure_goma_fail') + |
1308 api.properties( | 1312 api.properties( |
1309 mastername='chromium.fyi', | 1313 mastername='chromium.fyi', |
1310 buildername='Linux remote_run Builder', | 1314 buildername='Linux remote_run Builder', |
1311 slavename='build1-a1', | 1315 slavename='build1-a1', |
1312 buildnumber='77457', | 1316 buildnumber='77457', |
1313 path_config='kitchen') + | 1317 path_config='kitchen') + |
1314 api.override_step_data('ensure_goma.ensure_installed', retcode=1) | 1318 api.override_step_data('ensure_goma.ensure_installed', retcode=1) |
1315 ) | 1319 ) |
OLD | NEW |