OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 'infra_paths', | |
7 'recipe_engine/path', | 6 'recipe_engine/path', |
8 'recipe_engine/platform', | 7 'recipe_engine/platform', |
9 'recipe_engine/properties', | 8 'recipe_engine/properties', |
10 'recipe_engine/python', | 9 'recipe_engine/python', |
11 'tryserver', | 10 'tryserver', |
12 ] | 11 ] |
13 | 12 |
14 | 13 |
15 def RunSteps(api): | 14 def RunSteps(api): |
16 api.path['checkout'] = api.infra_paths['slave_build'] | 15 api.path['checkout'] = api.path['slave_build'] |
17 api.tryserver.maybe_apply_issue() | 16 api.tryserver.maybe_apply_issue() |
18 api.tryserver.get_files_affected_by_patch() | 17 api.tryserver.get_files_affected_by_patch() |
19 | 18 |
20 if api.tryserver.is_tryserver: | 19 if api.tryserver.is_tryserver: |
21 api.tryserver.set_subproject_tag('v8') | 20 api.tryserver.set_subproject_tag('v8') |
22 | 21 |
23 api.tryserver.set_patch_failure_tryjob_result() | 22 api.tryserver.set_patch_failure_tryjob_result() |
24 api.tryserver.set_compile_failure_tryjob_result() | 23 api.tryserver.set_compile_failure_tryjob_result() |
25 api.tryserver.set_test_failure_tryjob_result() | 24 api.tryserver.set_test_failure_tryjob_result() |
26 api.tryserver.set_invalid_test_results_tryjob_result() | 25 api.tryserver.set_invalid_test_results_tryjob_result() |
(...skipping 10 matching lines...) Expand all Loading... |
37 api.properties( | 36 api.properties( |
38 patch_storage='git', | 37 patch_storage='git', |
39 patch_project='v8', | 38 patch_project='v8', |
40 patch_repo_url='http://patch.url/', | 39 patch_repo_url='http://patch.url/', |
41 patch_ref='johndoe#123.diff')) | 40 patch_ref='johndoe#123.diff')) |
42 | 41 |
43 yield (api.test('with_rietveld_patch') + | 42 yield (api.test('with_rietveld_patch') + |
44 api.properties.tryserver()) | 43 api.properties.tryserver()) |
45 | 44 |
46 yield (api.test('with_wrong_patch') + api.platform('win', 32)) | 45 yield (api.test('with_wrong_patch') + api.platform('win', 32)) |
OLD | NEW |