| 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 'chromite', | 6 'chromite', |
| 7 ] | 7 ] |
| 8 | 8 |
| 9 | 9 |
| 10 def RunSteps(api): | 10 def RunSteps(api): |
| 11 api.chromite.set_config('base') |
| 12 |
| 11 # Basic checkout exercise. | 13 # Basic checkout exercise. |
| 12 api.chromite.checkout() | 14 api.chromite.checkout() |
| 13 api.chromite.setup_board('amd64-generic', args=['--cache-dir', '.cache']) | 15 api.chromite.setup_board('amd64-generic', args=['--cache-dir', '.cache']) |
| 14 api.chromite.build_packages('amd64-generic') | 16 api.chromite.build_packages('amd64-generic') |
| 15 api.chromite.cros_sdk('cros_sdk', ['echo', 'hello'], | 17 api.chromite.cros_sdk('cros_sdk', ['echo', 'hello'], |
| 16 environ={ 'var1': 'value' }) | 18 environ={ 'var1': 'value' }) |
| 17 api.chromite.cbuildbot('cbuildbot', 'amd64-generic-full', | 19 api.chromite.cbuildbot('cbuildbot', 'amd64-generic-full', |
| 18 args=['--clobber', '--build-dir', '/here/there']) | 20 args=['--clobber', '--build-dir', '/here/there']) |
| 19 | 21 |
| 20 | 22 |
| 21 def GenTests(api): | 23 def GenTests(api): |
| 22 yield api.test('basic') | 24 yield api.test('basic') |
| OLD | NEW |