Index: scripts/slave/recipe_modules/generator_script/example.expected/basic.json |
diff --git a/scripts/slave/recipe_modules/generator_script/example.expected/basic.json b/scripts/slave/recipe_modules/generator_script/example.expected/basic.json |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2319446243e309c98cb921ead1f5ee998d6af9d1 |
--- /dev/null |
+++ b/scripts/slave/recipe_modules/generator_script/example.expected/basic.json |
@@ -0,0 +1,30 @@ |
+[ |
+ { |
+ "cmd": [ |
+ "bogus", |
+ "--output-json", |
+ "/path/to/tmp/json" |
+ ], |
+ "cwd": "[SLAVE_BUILD]", |
+ "name": "gen step(bogus)", |
+ "~followup_annotations": [ |
+ "@@@STEP_LOG_LINE@json.output@[@@@", |
+ "@@@STEP_LOG_LINE@json.output@ {@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"cmd\": [@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"echo\", @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"mock step binary\"@@@", |
+ "@@@STEP_LOG_LINE@json.output@ ], @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"name\": \"mock.step.binary\"@@@", |
+ "@@@STEP_LOG_LINE@json.output@ }@@@", |
+ "@@@STEP_LOG_LINE@json.output@]@@@", |
+ "@@@STEP_LOG_END@json.output@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [ |
+ "echo", |
+ "mock step binary" |
+ ], |
+ "name": "mock.step.binary" |
+ } |
+] |