| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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/path', | 9 'recipe_engine/path', |
| 10 'recipe_engine/properties', | 10 'recipe_engine/properties', |
| 11 'recipe_engine/python', | 11 'recipe_engine/python', |
| 12 'recipe_engine/raw_io', | 12 'recipe_engine/raw_io', |
| 13 'recipe_engine/step', | 13 'recipe_engine/step', |
| 14 'v8', | 14 'v8', |
| 15 ] | 15 ] |
| 16 | 16 |
| 17 def RunSteps(api): | 17 def RunSteps(api): |
| 18 api.chromium.cleanup_temp() | 18 api.chromium.cleanup_temp() |
| 19 api.gclient.set_config('v8') | 19 api.gclient.set_config('v8') |
| 20 api.bot_update.ensure_checkout(force=True, no_shallow=True) | 20 api.bot_update.ensure_checkout(no_shallow=True) |
| 21 | 21 |
| 22 step_result = api.python( | 22 step_result = api.python( |
| 23 'check roll status', | 23 'check roll status', |
| 24 api.path['build'].join('scripts', 'tools', 'runit.py'), | 24 api.path['build'].join('scripts', 'tools', 'runit.py'), |
| 25 [api.path['build'].join('scripts', 'tools', 'pycurl.py'), | 25 [api.path['build'].join('scripts', 'tools', 'pycurl.py'), |
| 26 'https://v8-roll.appspot.com/status'], | 26 'https://v8-roll.appspot.com/status'], |
| 27 stdout=api.raw_io.output(), | 27 stdout=api.raw_io.output(), |
| 28 step_test_data=lambda: api.raw_io.test_api.stream_output( | 28 step_test_data=lambda: api.raw_io.test_api.stream_output( |
| 29 '1', stream='stdout') | 29 '1', stream='stdout') |
| 30 ) | 30 ) |
| (...skipping 18 matching lines...) Expand all Loading... |
| 49 | 49 |
| 50 def GenTests(api): | 50 def GenTests(api): |
| 51 yield api.test('standard') + api.properties.generic( | 51 yield api.test('standard') + api.properties.generic( |
| 52 mastername='client.v8.fyi') | 52 mastername='client.v8.fyi') |
| 53 yield (api.test('rolling_deactivated') + | 53 yield (api.test('rolling_deactivated') + |
| 54 api.properties.generic(mastername='client.v8.fyi') + | 54 api.properties.generic(mastername='client.v8.fyi') + |
| 55 api.override_step_data( | 55 api.override_step_data( |
| 56 'check roll status', api.raw_io.stream_output('0', stream='stdout')) | 56 'check roll status', api.raw_io.stream_output('0', stream='stdout')) |
| 57 ) | 57 ) |
| 58 | 58 |
| OLD | NEW |