OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 'git', | 7 'git', |
8 'path', | 8 'path', |
9 'properties', | 9 'properties', |
10 'rietveld', | 10 'rietveld', |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 '--skip_canned', 'CheckRietveldTryJobExecution', | 43 '--skip_canned', 'CheckRietveldTryJobExecution', |
44 '--skip_canned', 'CheckTreeIsOpen', | 44 '--skip_canned', 'CheckTreeIsOpen', |
45 '--skip_canned', 'CheckBuildbotPendingBuilds', | 45 '--skip_canned', 'CheckBuildbotPendingBuilds', |
46 '--rietveld_url', api.properties['rietveld'], | 46 '--rietveld_url', api.properties['rietveld'], |
47 '--rietveld_email', '', # activates anonymous mode | 47 '--rietveld_email', '', # activates anonymous mode |
48 '--rietveld_fetch']) | 48 '--rietveld_fetch']) |
49 | 49 |
50 | 50 |
51 def GenTests(api): | 51 def GenTests(api): |
52 for repo_name in ['blink', 'blink_bare', 'tools_build', 'chromium']: | 52 for repo_name in ['blink', 'blink_bare', 'tools_build', 'chromium']: |
| 53 extra = {} |
53 if 'blink' in repo_name: | 54 if 'blink' in repo_name: |
54 props = api.properties_tryserver( | 55 extra['root'] = 'src/third_party/WebKit' |
55 root='src/third_party/WebKit' | |
56 ) | |
57 else: | |
58 props = api.properties_tryserver() | |
59 | 56 |
60 props['repo_name'] = repo_name | 57 yield api.Test(repo_name) + api.properties.tryserver( |
61 yield repo_name, { | 58 repo_name=repo_name, |
62 'properties': props | 59 **extra |
63 } | 60 ) |
OLD | NEW |