| Index: scripts/slave/recipes/chromium_gn.expected/full_tryserver_v8_v8_linux_chromium_gn_rel.json
|
| diff --git a/scripts/slave/recipes/chromium_gn.expected/full_tryserver_v8_v8_linux_chromium_gn_rel.json b/scripts/slave/recipes/chromium_gn.expected/full_tryserver_v8_v8_linux_chromium_gn_rel.json
|
| index 46023e2bc17bef0101c4b5d46d0ea79458f73cab..6bd629d43289687b00f8caf6313801099f78be66 100644
|
| --- a/scripts/slave/recipes/chromium_gn.expected/full_tryserver_v8_v8_linux_chromium_gn_rel.json
|
| +++ b/scripts/slave/recipes/chromium_gn.expected/full_tryserver_v8_v8_linux_chromium_gn_rel.json
|
| @@ -81,13 +81,127 @@
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[DEPOT_TOOLS]/gn.py",
|
| - "--root=[SLAVE_BUILD]/src",
|
| + "[SLAVE_BUILD]/src/tools/mb/mb.py",
|
| "gen",
|
| + "-v",
|
| + "-m",
|
| + "tryserver.v8",
|
| + "-b",
|
| + "v8_linux_chromium_gn_rel",
|
| + "--goma-dir",
|
| + "[BUILD]/goma",
|
| + "//out/Release"
|
| + ],
|
| + "name": "mb gen"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
| + "[SLAVE_BUILD]/src/testing/buildbot/tryserver.v8.json",
|
| + "/path/to/tmp/json"
|
| + ],
|
| + "name": "read test spec",
|
| + "~followup_annotations": [
|
| + "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/tryserver.v8.json@@@",
|
| + "@@@STEP_LOG_LINE@json.output@{@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"v8_linux_chromium_gn_rel\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"base_unittests\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ ]@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }@@@",
|
| + "@@@STEP_LOG_LINE@json.output@}@@@",
|
| + "@@@STEP_LOG_END@json.output@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "git",
|
| + "diff",
|
| + "--cached",
|
| + "--name-only"
|
| + ],
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| + "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",
|
| + "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
| + "[SLAVE_BUILD]/src/testing/buildbot/trybot_analyze_config.json",
|
| + "/path/to/tmp/json"
|
| + ],
|
| + "name": "read filter exclusion spec",
|
| + "~followup_annotations": [
|
| + "@@@STEP_TEXT@path: 'testing/buildbot/trybot_analyze_config.json'@@@",
|
| + "@@@STEP_LOG_LINE@json.output@{@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"base\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"chromium\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"ios\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }@@@",
|
| + "@@@STEP_LOG_LINE@json.output@}@@@",
|
| + "@@@STEP_LOG_END@json.output@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "[SLAVE_BUILD]/src/tools/mb/mb.py",
|
| + "analyze",
|
| + "-m",
|
| + "tryserver.v8",
|
| + "-b",
|
| + "v8_linux_chromium_gn_rel",
|
| + "-v",
|
| "//out/Release",
|
| - "--args=is_debug=false target_cpu=\"x64\" use_goma=true goma_dir=\"[BUILD]/goma\""
|
| + "{\"files\": [\"foo.cc\"], \"targets\": [\"base_unittests\", \"all\"]}",
|
| + "/path/to/tmp/json"
|
| ],
|
| - "name": "gn"
|
| + "name": "analyze",
|
| + "~followup_annotations": [
|
| + "@@@STEP_LOG_LINE@json.output@{@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"base_unittests\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ ], @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"status\": \"Found dependency\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"targets\": [@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"base_unittests\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ ]@@@",
|
| + "@@@STEP_LOG_LINE@json.output@}@@@",
|
| + "@@@STEP_LOG_END@json.output@@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@{@@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@ \"compile_targets\": [@@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@ \"base_unittests\"@@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@ ], @@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@ \"original_compile_targets\": [@@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@ \"base_unittests\"@@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@ ], @@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@ \"original_exes\": [@@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@ \"base_unittests\", @@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@ \"all\"@@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@ ], @@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@ \"self.m.filter.compile_targets\": [@@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@ \"base_unittests\"@@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@ ], @@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@ \"self.m.filter.matching_exes\": [@@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@ \"base_unittests\"@@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@ ]@@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@}@@@",
|
| + "@@@STEP_LOG_END@analyze_details@@@"
|
| + ]
|
| },
|
| {
|
| "cmd": [
|
| @@ -105,7 +219,7 @@
|
| "--goma-dir",
|
| "[BUILD]/goma",
|
| "--",
|
| - "all"
|
| + "base_unittests"
|
| ],
|
| "name": "compile"
|
| },
|
| @@ -119,24 +233,5 @@
|
| "//out/Release"
|
| ],
|
| "name": "gn check"
|
| - },
|
| - {
|
| - "cmd": [
|
| - "python",
|
| - "-u",
|
| - "[BUILD]/scripts/slave/runtest.py",
|
| - "--target",
|
| - "Release",
|
| - "--no-xvfb",
|
| - "--factory-properties",
|
| - "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"branch\": \"\", \"buildername\": \"v8_linux_chromium_gn_rel\", \"buildnumber\": 571, \"issue\": 12853011, \"mastername\": \"tryserver.v8\", \"patch_project\": \"chromium\", \"patchset\": 1, \"project\": \"chrome\", \"recipe\": \"chromium_gn\", \"repository\": \"\", \"requester\": \"commit-bot@chromium.org\", \"revision\": \"HEAD\", \"rietveld\": \"https://codereview.chromium.org\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}",
|
| - "--build-properties",
|
| - "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"branch\": \"\", \"buildername\": \"v8_linux_chromium_gn_rel\", \"buildnumber\": 571, \"issue\": 12853011, \"mastername\": \"tryserver.v8\", \"patch_project\": \"chromium\", \"patchset\": 1, \"project\": \"chrome\", \"recipe\": \"chromium_gn\", \"repository\": \"\", \"requester\": \"commit-bot@chromium.org\", \"revision\": \"HEAD\", \"rietveld\": \"https://codereview.chromium.org\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}",
|
| - "--builder-name=v8_linux_chromium_gn_rel",
|
| - "--slave-name=TestSlavename",
|
| - "--build-number=571",
|
| - "gn_unittests"
|
| - ],
|
| - "name": "gn_unittests"
|
| }
|
| ]
|
|
|