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 'gclient', | 6 'gclient', |
7 'recipe_engine/path', | 7 'recipe_engine/path', |
8 'recipe_engine/properties', | 8 'recipe_engine/properties', |
9 ] | 9 ] |
10 | 10 |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
84 cwd=api.path['slave_build'].join('src', 'third_party')) | 84 cwd=api.path['slave_build'].join('src', 'third_party')) |
85 | 85 |
86 api.gclient.break_locks() | 86 api.gclient.break_locks() |
87 | 87 |
88 del api.gclient.spec_alias | 88 del api.gclient.spec_alias |
89 | 89 |
90 api.gclient.runhooks() | 90 api.gclient.runhooks() |
91 | 91 |
92 assert not api.gclient.is_blink_mode | 92 assert not api.gclient.is_blink_mode |
93 | 93 |
94 if api.properties.get('patch_project'): | |
95 api.gclient.set_patch_project_revision( | |
96 patch_project=api.properties.get('patch_project'), | |
97 gclient_config=api.gclient.make_config('chromium_bare')) | |
tandrii(chromium)
2016/05/16 20:33:48
sadly this call doesn't add anything to expectatio
kjellander_chromium
2016/05/16 20:41:44
Right, it's just here for coverage.
| |
98 | |
94 | 99 |
95 def GenTests(api): | 100 def GenTests(api): |
96 yield api.test('basic') | 101 yield api.test('basic') |
97 | 102 |
98 yield api.test('revision') + api.properties(revision='abc') | 103 yield api.test('revision') + api.properties(revision='abc') |
99 | 104 |
100 yield api.test('tryserver') + api.properties.tryserver() | 105 yield api.test('tryserver') + api.properties.tryserver() |
106 | |
107 yield ( | |
108 api.test('tryserver_webrtc_patch') + | |
109 api.properties.tryserver() + | |
110 api.properties(patch_project='webrtc') | |
tandrii(chromium)
2016/05/16 20:33:48
nit: these kwargs can be inside .tryserver() above
kjellander_chromium
2016/05/16 20:41:44
Done.
| |
111 ) | |
OLD | NEW |