Index: scripts/slave/recipe_modules/generator_script/example.expected/presentation.json |
diff --git a/scripts/slave/recipe_modules/generator_script/example.expected/presentation.json b/scripts/slave/recipe_modules/generator_script/example.expected/presentation.json |
new file mode 100644 |
index 0000000000000000000000000000000000000000..51576c5de691c64f9164ee60dc01dfe88f473390 |
--- /dev/null |
+++ b/scripts/slave/recipe_modules/generator_script/example.expected/presentation.json |
@@ -0,0 +1,38 @@ |
+[ |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "presentation.py", |
+ "--output-json", |
+ "/path/to/tmp/json" |
+ ], |
+ "cwd": "[SLAVE_BUILD]", |
+ "name": "gen step(presentation.py)", |
+ "~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 presentation\"@@@", |
+ "@@@STEP_LOG_LINE@json.output@ ], @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"name\": \"mock.step.presentation\", @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"outputs_presentation_json\": true@@@", |
+ "@@@STEP_LOG_LINE@json.output@ }@@@", |
+ "@@@STEP_LOG_LINE@json.output@]@@@", |
+ "@@@STEP_LOG_END@json.output@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [ |
+ "echo", |
+ "mock step presentation", |
+ "--presentation-json", |
+ "/path/to/tmp/json" |
+ ], |
+ "name": "mock.step.presentation", |
+ "~followup_annotations": [ |
+ "@@@STEP_TEXT@mock step text@@@" |
+ ] |
+ } |
+] |