Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(936)

Unified Diff: scripts/slave/recipe_modules/filter/example.expected/analyzes_matches_all_exes.json

Issue 473313002: Adds handling of 'Found dependency (all)' to filter (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « scripts/slave/recipe_modules/filter/example.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/filter/example.expected/analyzes_matches_all_exes.json
diff --git a/scripts/slave/recipe_modules/filter/example.expected/analyzes_matches_all_exes.json b/scripts/slave/recipe_modules/filter/example.expected/analyzes_matches_all_exes.json
new file mode 100644
index 0000000000000000000000000000000000000000..3d64b53fff9148efb4168fcf1a3b98dc381d736e
--- /dev/null
+++ b/scripts/slave/recipe_modules/filter/example.expected/analyzes_matches_all_exes.json
@@ -0,0 +1,43 @@
+[
+ {
+ "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\": [\"foo\", \"bar\"]}",
+ "/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@ \"status\": \"Found dependency (all)\", @@@",
+ "@@@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"
+ }
+]
« no previous file with comments | « scripts/slave/recipe_modules/filter/example.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698