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

Unified Diff: scripts/slave/recipes/chromium.expected/dynamic_gtest.json

Issue 1588793002: Support variable substitution and tryserver- and waterfall-only cmd line args. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 11 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
Index: scripts/slave/recipes/chromium.expected/dynamic_gtest.json
diff --git a/scripts/slave/recipes/chromium.expected/dynamic_gtest.json b/scripts/slave/recipes/chromium.expected/dynamic_gtest.json
index cf43afd77edd9d0c79b491f6eb77b8605e1a897d..d1751c6d8ce2bd49a0161e9bf2582ffe90eabec7 100644
--- a/scripts/slave/recipes/chromium.expected/dynamic_gtest.json
+++ b/scripts/slave/recipes/chromium.expected/dynamic_gtest.json
@@ -136,6 +136,21 @@
"@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@",
"@@@STEP_LOG_LINE@json.output@ \"test\": \"browser_tests\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"total_shards\": 2@@@",
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
+ "@@@STEP_LOG_LINE@json.output@ {@@@",
+ "@@@STEP_LOG_LINE@json.output@ \"args\": [@@@",
+ "@@@STEP_LOG_LINE@json.output@ \"--correct-common-arg\"@@@",
+ "@@@STEP_LOG_LINE@json.output@ ], @@@",
+ "@@@STEP_LOG_LINE@json.output@ \"non_precommit_args\": [@@@",
+ "@@@STEP_LOG_LINE@json.output@ \"--these-args-should-be-present\", @@@",
+ "@@@STEP_LOG_LINE@json.output@ \"--mastername=\\\"${master_name}\\\"\", @@@",
+ "@@@STEP_LOG_LINE@json.output@ \"--buildername=\\\"${builder_name}\\\"\", @@@",
+ "@@@STEP_LOG_LINE@json.output@ \"--buildrevision=\\\"${build_revision}\\\"\"@@@",
+ "@@@STEP_LOG_LINE@json.output@ ], @@@",
+ "@@@STEP_LOG_LINE@json.output@ \"precommit_args\": [@@@",
+ "@@@STEP_LOG_LINE@json.output@ \"--THIS-ARG-SHOULD-NOT-BE-PRESENT\"@@@",
Sergiy Byelozyorov 2016/01/14 09:43:47 This is confusing.
+ "@@@STEP_LOG_LINE@json.output@ ], @@@",
+ "@@@STEP_LOG_LINE@json.output@ \"test\": \"content_unittests\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
@@ -280,6 +295,43 @@
"name": "browser_tests"
},
{
+ "allow_subannotations": true,
+ "cmd": [
+ "python",
+ "-u",
+ "[SLAVE_BUILD]/src/infra/scripts/runtest_wrapper.py",
+ "--path-build",
+ "[BUILD]",
+ "--",
+ "--target",
+ "Release",
+ "--xvfb",
+ "--factory-properties",
+ "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"buildername\": \"Linux Tests\", \"buildnumber\": 571, \"mastername\": \"chromium.linux\", \"parent_buildername\": \"Linux Builder\", \"recipe\": \"chromium\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}",
+ "--build-properties",
+ "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"buildername\": \"Linux Tests\", \"buildnumber\": 571, \"mastername\": \"chromium.linux\", \"parent_buildername\": \"Linux Builder\", \"recipe\": \"chromium\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}",
+ "--annotate=gtest",
+ "--test-type=content_unittests",
+ "--step-name=content_unittests",
+ "--test-launcher-summary-output",
+ "/path/to/tmp/json",
+ "--generate-json-file",
+ "-o",
+ "gtest-results/content_unittests",
+ "--builder-name=Linux Tests",
+ "--slave-name=TestSlavename",
+ "--build-number=571",
+ "content_unittests",
+ "--correct-common-arg",
+ "--these-args-should-be-present",
+ "--mastername=\"chromium.linux\"",
+ "--buildername=\"Linux Tests\"",
+ "--buildrevision=\"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\""
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "content_unittests"
+ },
+ {
"name": "$result",
"recipe_result": null,
"status_code": 0

Powered by Google App Engine
This is Rietveld 408576698