| Index: scripts/slave/recipe_modules/filter/example.expected/analyzes_matches_compile_targets.json
|
| diff --git a/scripts/slave/recipe_modules/filter/example.expected/analyzes_matches_compile_targets.json b/scripts/slave/recipe_modules/filter/example.expected/analyzes_matches_compile_targets.json
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2e9fd09c461badcbf4236327a5181333bbe5dc2c
|
| --- /dev/null
|
| +++ b/scripts/slave/recipe_modules/filter/example.expected/analyzes_matches_compile_targets.json
|
| @@ -0,0 +1,46 @@
|
| +[
|
| + {
|
| + "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",
|
| + "--analyzer",
|
| + "{\"files\": [\"foo.cc\"], \"targets\": []}",
|
| + "/path/to/tmp/json"
|
| + ],
|
| + "env": {
|
| + "GYP_DEFINES": "component=static_library gomadir='[BUILD]/goma' target_arch=x64 use_goma=1"
|
| + },
|
| + "name": "analyze",
|
| + "~followup_annotations": [
|
| + "@@@STEP_LOG_LINE@json.output@{@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"bar\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ ], @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"status\": \"Found dependency\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"targets\": [@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"foo\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ ]@@@",
|
| + "@@@STEP_LOG_LINE@json.output@}@@@",
|
| + "@@@STEP_LOG_END@json.output@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "echo",
|
| + "Why hello, there."
|
| + ],
|
| + "name": "hello"
|
| + }
|
| +]
|
|
|