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 'path', | 6 'path', |
7 'raw_io', | 7 'raw_io', |
8 'step', | 8 'step', |
9 ] | 9 ] |
10 | 10 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 leak_to=api.path['slave_build'].join('out'))]) | 57 leak_to=api.path['slave_build'].join('out'))]) |
58 | 58 |
59 | 59 |
60 def GenTests(api): | 60 def GenTests(api): |
61 yield (api.test('basic') + | 61 yield (api.test('basic') + |
62 api.step_data('echo', | 62 api.step_data('echo', |
63 stdout=api.raw_io.output('Hello World\n'), | 63 stdout=api.raw_io.output('Hello World\n'), |
64 stderr=api.raw_io.output('')) + | 64 stderr=api.raw_io.output('')) + |
65 api.step_data('cat', | 65 api.step_data('cat', |
66 stdout=api.raw_io.output('hello'))) | 66 stdout=api.raw_io.output('hello'))) |
OLD | NEW |