| 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 from recipe_engine import recipe_api | 5 from recipe_engine import recipe_api |
| 6 from recipe_engine.types import freeze | 6 from recipe_engine.types import freeze |
| 7 | 7 |
| 8 DEPS = [ | 8 DEPS = [ |
| 9 'archive', | 9 'archive', |
| 10 'chromedriver', | 10 'chromedriver', |
| 11 'chromium', | 11 'chromium', |
| 12 'chromium_android', | 12 'chromium_android', |
| 13 'commit_position', | 13 'commit_position', |
| 14 'depot_tools/bot_update', | 14 'depot_tools/bot_update', |
| 15 'depot_tools/gclient', | 15 'depot_tools/gclient', |
| 16 'recipe_engine/json', |
| 16 'recipe_engine/platform', | 17 'recipe_engine/platform', |
| 17 'recipe_engine/properties', | 18 'recipe_engine/properties', |
| 18 'recipe_engine/raw_io', | 19 'recipe_engine/raw_io', |
| 19 'recipe_engine/step', | 20 'recipe_engine/step', |
| 20 ] | 21 ] |
| 21 | 22 |
| 22 BUILDERS = freeze({ | 23 BUILDERS = freeze({ |
| 23 'Android ChromeDriver Tests Example': { | 24 'Android ChromeDriver Tests Example': { |
| 24 'chromedriver_platform': 'android', | 25 'chromedriver_platform': 'android', |
| 25 # Whether or not to update the test results log (Android only). | 26 # Whether or not to update the test results log (Android only). |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 yield ( | 100 yield ( |
| 100 api.test('%s_download_logs_failure' % sanitize('Android ChromeDriver')) + | 101 api.test('%s_download_logs_failure' % sanitize('Android ChromeDriver')) + |
| 101 api.properties.generic( | 102 api.properties.generic( |
| 102 buildername='Android ChromeDriver Tests Example', | 103 buildername='Android ChromeDriver Tests Example', |
| 103 slavename='slavename') + | 104 slavename='slavename') + |
| 104 api.properties( | 105 api.properties( |
| 105 parent_build_archive_url='gs://test-domain/test-archive.zip', | 106 parent_build_archive_url='gs://test-domain/test-archive.zip', |
| 106 got_revision_cp='refs/heads/master@{#3333333333}') + | 107 got_revision_cp='refs/heads/master@{#3333333333}') + |
| 107 api.step_data( | 108 api.step_data( |
| 108 'Download Test Results Log.gsutil download results log', retcode=1)) | 109 'Download Test Results Log.gsutil download results log', retcode=1)) |
| 110 |
| 111 yield ( |
| 112 api.test('%s_unexpected_prebuilt' % sanitize('Android ChromeDriver')) + |
| 113 api.properties.generic( |
| 114 buildername='Android ChromeDriver Tests Example', |
| 115 slavename='slavename') + |
| 116 api.properties( |
| 117 parent_build_archive_url='gs://test-domain/test-archive.zip', |
| 118 got_revision_cp='refs/heads/master@{#3333333333}') + |
| 119 api.step_data( |
| 120 'Download Prebuilts.listdir get prebuilt filename', |
| 121 api.json.output(['rNone.zip']))) |
| OLD | NEW |