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_tests', | 12 'chromium_tests', |
12 'commit_position', | 13 'commit_position', |
13 'file', | 14 'file', |
14 'isolate', | 15 'isolate', |
15 'recipe_engine/json', | 16 'recipe_engine/json', |
16 'recipe_engine/path', | 17 'recipe_engine/path', |
17 'recipe_engine/platform', | 18 'recipe_engine/platform', |
18 'recipe_engine/properties', | 19 'recipe_engine/properties', |
19 'recipe_engine/python', | 20 'recipe_engine/python', |
20 'recipe_engine/raw_io', | 21 'recipe_engine/raw_io', |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 bot_config, update_step, bot_db, | 59 bot_config, update_step, bot_db, |
59 compile_targets, tests_including_triggered) | 60 compile_targets, tests_including_triggered) |
60 api.chromium_tests.archive_build( | 61 api.chromium_tests.archive_build( |
61 mastername, buildername, update_step, bot_db) | 62 mastername, buildername, update_step, bot_db) |
62 api.chromium_tests.download_and_unzip_build(mastername, buildername, | 63 api.chromium_tests.download_and_unzip_build(mastername, buildername, |
63 update_step, bot_db) | 64 update_step, bot_db) |
64 | 65 |
65 if not tests: | 66 if not tests: |
66 return | 67 return |
67 | 68 |
68 api.chromium_tests.configure_swarming('chromium', precommit=False, | 69 api.chromium_swarming.configure_swarming( |
69 mastername=mastername) | 70 'chromium', precommit=False, mastername=mastername) |
70 test_runner = api.chromium_tests.create_test_runner(api, tests) | 71 test_runner = api.chromium_tests.create_test_runner(api, tests) |
71 with api.chromium_tests.wrap_chromium_tests(bot_config, tests): | 72 with api.chromium_tests.wrap_chromium_tests(bot_config, tests): |
72 test_runner() | 73 test_runner() |
73 | 74 |
74 | 75 |
75 def _sanitize_nonalpha(text): | 76 def _sanitize_nonalpha(text): |
76 return ''.join(c if c.isalnum() else '_' for c in text) | 77 return ''.join(c if c.isalnum() else '_' for c in text) |
77 | 78 |
78 | 79 |
79 def GenTests(api): | 80 def GenTests(api): |
(...skipping 1225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1305 yield ( | 1306 yield ( |
1306 api.test('ensure_goma_fail') + | 1307 api.test('ensure_goma_fail') + |
1307 api.properties( | 1308 api.properties( |
1308 mastername='chromium.fyi', | 1309 mastername='chromium.fyi', |
1309 buildername='Linux remote_run Builder', | 1310 buildername='Linux remote_run Builder', |
1310 slavename='build1-a1', | 1311 slavename='build1-a1', |
1311 buildnumber='77457', | 1312 buildnumber='77457', |
1312 path_config='kitchen') + | 1313 path_config='kitchen') + |
1313 api.override_step_data('ensure_goma.ensure_installed', retcode=1) | 1314 api.override_step_data('ensure_goma.ensure_installed', retcode=1) |
1314 ) | 1315 ) |
OLD | NEW |