| Index: scripts/slave/recipe_modules/filter/example.expected/analyzes_error.json
|
| diff --git a/scripts/slave/recipe_modules/filter/example.expected/analyzes_error.json b/scripts/slave/recipe_modules/filter/example.expected/analyzes_error.json
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4105c8a919f7b5caa04a72ff8d71ac34501a90b4
|
| --- /dev/null
|
| +++ b/scripts/slave/recipe_modules/filter/example.expected/analyzes_error.json
|
| @@ -0,0 +1,31 @@
|
| +[
|
| + {
|
| + "cmd": [
|
| + "git",
|
| + "diff",
|
| + "--cached",
|
| + "--name-only"
|
| + ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| + "name": "git diff to analyze patch",
|
| + "stdout": "/path/to/tmp/"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "[SLAVE_BUILD]/build/gyp_chromium",
|
| + "--analyzer2",
|
| + "{\"files\": [\"foo.cc\"], \"targets\": null}",
|
| + "/path/to/tmp/json"
|
| + ],
|
| + "name": "analyze",
|
| + "~followup_annotations": [
|
| + "@@@STEP_TEXT@Error: ERROR@@@",
|
| + "@@@STEP_LOG_LINE@json.output@{@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"error\": \"ERROR\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@}@@@",
|
| + "@@@STEP_LOG_END@json.output@@@"
|
| + ]
|
| + }
|
| +]
|
|
|