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 | 5 |
6 DEPS = [ | 6 DEPS = [ |
7 'gclient', | 7 'gclient', |
8 'git', | 8 'git', |
9 'path', | 9 'path', |
10 'platform', | 10 'platform', |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 | 91 |
92 yield api.step('test', test_prefix + ['grunt' + cmd_suffix, | 92 yield api.step('test', test_prefix + ['grunt' + cmd_suffix, |
93 'test-buildbot'], cwd=api.path.checkout(), | 93 'test-buildbot'], cwd=api.path.checkout(), |
94 env=node_env, allow_subannotations=True) | 94 env=node_env, allow_subannotations=True) |
95 | 95 |
96 | 96 |
97 def GenTests(api): | 97 def GenTests(api): |
98 # Test paths and commands on each platform. | 98 # Test paths and commands on each platform. |
99 for plat in ('mac', 'linux', 'win'): | 99 for plat in ('mac', 'linux', 'win'): |
100 yield 'polymer-%s' % plat, { | 100 yield 'polymer-%s' % plat, { |
101 'properties': api.properties_scheduled( | 101 'properties': api.properties.scheduled( |
102 repository='https://github.com/Polymer/polymer', | 102 repository='https://github.com/Polymer/polymer', |
103 buildername='polymer %s' % plat), | 103 buildername='polymer %s' % plat), |
104 'mock': { | 104 'mock': { |
105 'platform': { | 105 'platform': { |
106 'name': plat | 106 'name': plat |
107 } | 107 } |
108 }, | 108 }, |
109 } | 109 } |
110 # Make sure the steps are right for deps-triggered jobs. | 110 # Make sure the steps are right for deps-triggered jobs. |
111 yield 'polymer-from-platform', { | 111 yield 'polymer-from-platform', { |
112 'properties': api.properties_scheduled( | 112 'properties': api.properties.scheduled( |
113 repository='https://github.com/Polymer/platform', | 113 repository='https://github.com/Polymer/platform', |
114 buildername='polymer linux', | 114 buildername='polymer linux', |
115 scheduler='polymer-platform') | 115 scheduler='polymer-platform') |
116 } | 116 } |
OLD | NEW |