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 'infra_paths', | |
8 'recipe_engine/path', | 7 'recipe_engine/path', |
9 'recipe_engine/properties', | 8 'recipe_engine/properties', |
10 ] | 9 ] |
11 | 10 |
12 | 11 |
13 TEST_CONFIGS = [ | 12 TEST_CONFIGS = [ |
14 'android', | 13 'android', |
15 'android_bare', | 14 'android_bare', |
16 'blink', | 15 'blink', |
17 'blink_or_chromium', | 16 'blink_or_chromium', |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 soln.url = 'svn://svn.chromium.org/blink/trunk' | 74 soln.url = 'svn://svn.chromium.org/blink/trunk' |
76 bl_cfg.revisions['third_party/WebKit'] = '123' | 75 bl_cfg.revisions['third_party/WebKit'] = '123' |
77 | 76 |
78 # Use safesync url for lkgr. | 77 # Use safesync url for lkgr. |
79 soln.safesync_url = 'https://blink-status.appspot.com/lkgr' | 78 soln.safesync_url = 'https://blink-status.appspot.com/lkgr' |
80 | 79 |
81 bl_cfg.got_revision_mapping['src/blatley'] = 'got_blatley_revision' | 80 bl_cfg.got_revision_mapping['src/blatley'] = 'got_blatley_revision' |
82 api.gclient.checkout( | 81 api.gclient.checkout( |
83 gclient_config=bl_cfg, | 82 gclient_config=bl_cfg, |
84 with_branch_heads=True, | 83 with_branch_heads=True, |
85 cwd=api.infra_paths['slave_build'].join('src', 'third_party')) | 84 cwd=api.path['slave_build'].join('src', 'third_party')) |
86 | 85 |
87 api.gclient.break_locks() | 86 api.gclient.break_locks() |
88 | 87 |
89 del api.gclient.spec_alias | 88 del api.gclient.spec_alias |
90 | 89 |
91 api.gclient.runhooks() | 90 api.gclient.runhooks() |
92 | 91 |
93 assert not api.gclient.is_blink_mode | 92 assert not api.gclient.is_blink_mode |
94 | 93 |
95 | 94 |
96 def GenTests(api): | 95 def GenTests(api): |
97 yield api.test('basic') | 96 yield api.test('basic') |
98 | 97 |
99 yield api.test('revision') + api.properties(revision='abc') | 98 yield api.test('revision') + api.properties(revision='abc') |
100 | 99 |
101 yield api.test('tryserver') + api.properties.tryserver() | 100 yield api.test('tryserver') + api.properties.tryserver() |
OLD | NEW |