Index: recipe_modules/tryserver/example.expected/with_wrong_patch.json |
diff --git a/recipe_modules/tryserver/example.expected/with_wrong_patch.json b/recipe_modules/tryserver/example.expected/with_wrong_patch.json |
new file mode 100644 |
index 0000000000000000000000000000000000000000..686dc43003640f71722e7847ce962f3591fe10ac |
--- /dev/null |
+++ b/recipe_modules/tryserver/example.expected/with_wrong_patch.json |
@@ -0,0 +1,37 @@ |
+[ |
+ { |
+ "cmd": [ |
+ "[DEPOT_TOOLS]\\git.bat", |
+ "diff", |
+ "--cached", |
+ "--name-only" |
+ ], |
+ "cwd": "[SLAVE_BUILD]", |
+ "name": "git diff to analyze patch", |
+ "stdout": "/path/to/tmp/", |
+ "~followup_annotations": [ |
+ "@@@STEP_LOG_LINE@files@foo.cc@@@", |
+ "@@@STEP_LOG_END@files@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "import sys; sys.exit(1)" |
+ ], |
+ "cwd": "[SLAVE_BUILD]", |
+ "name": "fail", |
+ "~followup_annotations": [ |
+ "step returned non-zero exit code: 1", |
+ "@@@STEP_TEXT@foo@@@", |
+ "@@@STEP_FAILURE@@@", |
+ "@@@SET_BUILD_PROPERTY@failure_hash@\"c2311ad770732eade3d2f48247abd147e40a70e7\"@@@" |
+ ] |
+ }, |
+ { |
+ "name": "$result", |
+ "reason": "Step('fail') failed with return_code 1", |
+ "status_code": 1 |
+ } |
+] |