Index: scripts/slave/recipe_modules/goma/example.py |
diff --git a/scripts/slave/recipe_modules/goma/example.py b/scripts/slave/recipe_modules/goma/example.py |
index 09eed4db491426fbbbe08c3cd20c32345eb5559a..e09946f3492343a2628b2de4832eec9a797b36b5 100644 |
--- a/scripts/slave/recipe_modules/goma/example.py |
+++ b/scripts/slave/recipe_modules/goma/example.py |
@@ -6,6 +6,7 @@ DEPS = [ |
'goma', |
'recipe_engine/platform', |
'recipe_engine/properties', |
+ 'recipe_engine/raw_io', |
] |
def RunSteps(api): |
@@ -22,7 +23,11 @@ def RunSteps(api): |
def GenTests(api): |
for platform in ('linux', 'win', 'mac'): |
- yield api.test(platform) + api.platform.name(platform) |
+ step_data = api.step_data( |
+ 'start cloudtail', |
+ stdout=api.raw_io.output('12345') |
+ ) |
+ yield api.test(platform) + api.platform.name(platform) + step_data |
properties = { |
'build_data_dir': 'build_data_dir', |
@@ -33,4 +38,4 @@ def GenTests(api): |
} |
yield (api.test('%s_upload_logs' % platform) + api.platform.name(platform) + |
- api.properties.generic(**properties)) |
+ api.properties.generic(**properties) + step_data) |