| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 'depot_tools/bot_update', | 6 'depot_tools/bot_update', |
| 7 'chromium', | 7 'chromium', |
| 8 'depot_tools/gclient', | 8 'depot_tools/gclient', |
| 9 'recipe_engine/json', | 9 'recipe_engine/json', |
| 10 'recipe_engine/properties', | 10 'recipe_engine/properties', |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 | 122 |
| 123 | 123 |
| 124 def RunSteps(api): | 124 def RunSteps(api): |
| 125 if api.properties["buildername"] not in dispatch_directory: | 125 if api.properties["buildername"] not in dispatch_directory: |
| 126 raise api.step.StepFailure("Builder unsupported by recipe.") | 126 raise api.step.StepFailure("Builder unsupported by recipe.") |
| 127 else: | 127 else: |
| 128 dispatch_directory[api.properties["buildername"]](api) | 128 dispatch_directory[api.properties["buildername"]](api) |
| 129 | 129 |
| 130 def GenTests(api): | 130 def GenTests(api): |
| 131 yield (api.test('Android_Debug__Nexus_9_') + | 131 yield (api.test('Android_Debug__Nexus_9_') + |
| 132 api.properties(mastername='chromium.gpu') + | 132 api.properties(mastername='chromium.gpu.fyi') + |
| 133 api.properties(buildername='Android Debug (Nexus 9)') + | 133 api.properties(buildername='Android Debug (Nexus 9)') + |
| 134 api.properties(slavename='TestSlave') | 134 api.properties(slavename='TestSlave') |
| 135 ) | 135 ) |
| 136 yield (api.test('Android_Debug__Nexus_5_') + | 136 yield (api.test('Android_Debug__Nexus_5_') + |
| 137 api.properties(mastername='chromium.gpu') + | 137 api.properties(mastername='chromium.gpu') + |
| 138 api.properties(buildername='Android Debug (Nexus 5)') + | 138 api.properties(buildername='Android Debug (Nexus 5)') + |
| 139 api.properties(slavename='TestSlave') | 139 api.properties(slavename='TestSlave') |
| 140 ) | 140 ) |
| 141 yield (api.test('Android_Debug__Nexus_6_') + | 141 yield (api.test('Android_Debug__Nexus_6_') + |
| 142 api.properties(mastername='chromium.gpu') + | 142 api.properties(mastername='chromium.gpu') + |
| 143 api.properties(buildername='Android Debug (Nexus 6)') + | 143 api.properties(buildername='Android Debug (Nexus 6)') + |
| 144 api.properties(slavename='TestSlave') | 144 api.properties(slavename='TestSlave') |
| 145 ) | 145 ) |
| 146 yield (api.test('builder_not_in_dispatch_directory') + | 146 yield (api.test('builder_not_in_dispatch_directory') + |
| 147 api.properties(mastername='chromium.gpu') + | 147 api.properties(mastername='chromium.gpu') + |
| 148 api.properties(buildername='nonexistent_builder') + | 148 api.properties(buildername='nonexistent_builder') + |
| 149 api.properties(slavename='TestSlave') | 149 api.properties(slavename='TestSlave') |
| 150 ) | 150 ) |
| OLD | NEW |