| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 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 DEPS = [ | 5 DEPS = [ |
| 6 'generator_script', | 6 'generator_script', |
| 7 'path' | 7 'path' |
| 8 ] | 8 ] |
| 9 | 9 |
| 10 | 10 |
| 11 def GenSteps(api): | 11 def GenSteps(api): |
| 12 api.path.add_checkout(api.path.slave_build()) | 12 api.path.set_dynamic_path('checkout', api.path.slave_build()) |
| 13 yield api.generator_script('bogus') | 13 yield api.generator_script('bogus') |
| 14 yield api.generator_script('bogus.py') | 14 yield api.generator_script('bogus.py') |
| 15 | 15 |
| 16 | 16 |
| 17 def GenTests(api): | 17 def GenTests(api): |
| 18 yield ( | 18 yield ( |
| 19 api.test('basic') + | 19 api.test('basic') + |
| 20 api.generator_script( | 20 api.generator_script( |
| 21 'bogus', | 21 'bogus', |
| 22 {'name': 'mock.step.binary', 'cmd': ['echo', 'mock step binary']} | 22 {'name': 'mock.step.binary', 'cmd': ['echo', 'mock step binary']} |
| 23 ) + | 23 ) + |
| 24 api.generator_script( | 24 api.generator_script( |
| 25 'bogus.py', | 25 'bogus.py', |
| 26 {'name': 'mock.step.python', 'cmd': ['echo', 'mock step python']} | 26 {'name': 'mock.step.python', 'cmd': ['echo', 'mock step python']} |
| 27 ) | 27 ) |
| 28 ) | 28 ) |
| OLD | NEW |