Index: scripts/slave/recipe_modules/generator_script/example.expected/basic_python.json |
diff --git a/scripts/slave/recipe_modules/generator_script/example.expected/basic_python.json b/scripts/slave/recipe_modules/generator_script/example.expected/basic_python.json |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e1ec4e593aac6b1e0ef2baa5da59eaf6c5a0ad91 |
--- /dev/null |
+++ b/scripts/slave/recipe_modules/generator_script/example.expected/basic_python.json |
@@ -0,0 +1,35 @@ |
+[ |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "bogus.py", |
+ "--output-json", |
+ "/path/to/tmp/json" |
+ ], |
+ "cwd": "[SLAVE_BUILD]", |
+ "name": "gen step(bogus.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 python\"@@@", |
+ "@@@STEP_LOG_LINE@json.output@ ], @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"name\": \"mock.step.python\"@@@", |
+ "@@@STEP_LOG_LINE@json.output@ }@@@", |
+ "@@@STEP_LOG_LINE@json.output@]@@@", |
+ "@@@STEP_LOG_END@json.output@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [ |
+ "echo", |
+ "mock step python" |
+ ], |
+ "env": { |
+ "FOO": "bar" |
+ }, |
+ "name": "mock.step.python" |
+ } |
+] |