| 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', |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 got_revision_cp='refs/heads/master@{#3333333333}')) | 76 got_revision_cp='refs/heads/master@{#3333333333}')) |
| 77 | 77 |
| 78 yield ( | 78 yield ( |
| 79 api.test('%s_test_failure' % sanitize('Android ChromeDriver')) + | 79 api.test('%s_test_failure' % sanitize('Android ChromeDriver')) + |
| 80 api.properties.generic( | 80 api.properties.generic( |
| 81 buildername='Android ChromeDriver Tests Example', | 81 buildername='Android ChromeDriver Tests Example', |
| 82 slavename='slavename') + | 82 slavename='slavename') + |
| 83 api.properties( | 83 api.properties( |
| 84 parent_build_archive_url='gs://test-domain/test-archive.zip', | 84 parent_build_archive_url='gs://test-domain/test-archive.zip', |
| 85 got_revision_cp='refs/heads/master@{#3333333333}') + | 85 got_revision_cp='refs/heads/master@{#3333333333}') + |
| 86 api.step_data('java_tests chrome_stable', retcode=1)) | 86 api.step_data('java_tests chrome_stable.Run Tests', retcode=1)) |
| 87 | 87 |
| 88 yield ( | 88 yield ( |
| 89 api.test('%s_commit_already_in_logs' % sanitize('Android ChromeDriver')) + | 89 api.test('%s_commit_already_in_logs' % sanitize('Android ChromeDriver')) + |
| 90 api.properties.generic( | 90 api.properties.generic( |
| 91 buildername='Android ChromeDriver Tests Example', | 91 buildername='Android ChromeDriver Tests Example', |
| 92 slavename='slavename') + | 92 slavename='slavename') + |
| 93 api.properties( | 93 api.properties( |
| 94 parent_build_archive_url='gs://test-domain/test-archive.zip', | 94 parent_build_archive_url='gs://test-domain/test-archive.zip', |
| 95 got_revision_cp='refs/heads/master@{#3333333333}') + | 95 got_revision_cp='refs/heads/master@{#3333333333}') + |
| 96 api.step_data('Download Test Results Log.read results log file', | 96 api.step_data('Download Test Results Log.read results log file', |
| 97 api.raw_io.output('{"3333333333": true}'))) | 97 api.raw_io.output('{"3333333333": true}'))) |
| 98 | 98 |
| 99 yield ( | 99 yield ( |
| 100 api.test('%s_download_logs_failure' % sanitize('Android ChromeDriver')) + | 100 api.test('%s_download_logs_failure' % sanitize('Android ChromeDriver')) + |
| 101 api.properties.generic( | 101 api.properties.generic( |
| 102 buildername='Android ChromeDriver Tests Example', | 102 buildername='Android ChromeDriver Tests Example', |
| 103 slavename='slavename') + | 103 slavename='slavename') + |
| 104 api.properties( | 104 api.properties( |
| 105 parent_build_archive_url='gs://test-domain/test-archive.zip', | 105 parent_build_archive_url='gs://test-domain/test-archive.zip', |
| 106 got_revision_cp='refs/heads/master@{#3333333333}') + | 106 got_revision_cp='refs/heads/master@{#3333333333}') + |
| 107 api.step_data( | 107 api.step_data( |
| 108 'Download Test Results Log.gsutil download results log', retcode=1)) | 108 'Download Test Results Log.gsutil download results log', retcode=1)) |
| OLD | NEW |