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

Side by Side Diff: scripts/slave/recipes/chromium.expected/dynamic_script_test_with_args.json

Issue 873403002: Add support for cc_perftests and other non-telemetry gtest based tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Rebase again + coverage. Created 5 years, 9 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 unified diff | Download patch
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "[BUILD]/scripts/slave/bot_update.py", 6 "[BUILD]/scripts/slave/bot_update.py",
7 "--master", 7 "--master",
8 "chromium.linux", 8 "chromium.linux",
9 "--builder", 9 "--builder",
10 "Linux Tests", 10 "Linux Tests",
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 "-u", 91 "-u",
92 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 92 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
93 "[SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json", 93 "[SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json",
94 "/path/to/tmp/json" 94 "/path/to/tmp/json"
95 ], 95 ],
96 "name": "read test spec", 96 "name": "read test spec",
97 "~followup_annotations": [ 97 "~followup_annotations": [
98 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json @@@", 98 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json @@@",
99 "@@@STEP_LOG_LINE@json.output@{@@@", 99 "@@@STEP_LOG_LINE@json.output@{@@@",
100 "@@@STEP_LOG_LINE@json.output@ \"Linux Tests\": {@@@", 100 "@@@STEP_LOG_LINE@json.output@ \"Linux Tests\": {@@@",
101 "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@", 101 "@@@STEP_LOG_LINE@json.output@ \"scripts\": [@@@",
102 "@@@STEP_LOG_LINE@json.output@ \"base_unittests\", @@@",
103 "@@@STEP_LOG_LINE@json.output@ {@@@", 102 "@@@STEP_LOG_LINE@json.output@ {@@@",
104 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@", 103 "@@@STEP_LOG_LINE@json.output@ \"args\": [@@@",
105 "@@@STEP_LOG_LINE@json.output@ \"test\": \"browser_tests\", @@@", 104 "@@@STEP_LOG_LINE@json.output@ \"media_perftests\", @@@",
106 "@@@STEP_LOG_LINE@json.output@ \"total_shards\": 2@@@", 105 "@@@STEP_LOG_LINE@json.output@ \"--single-process-tests\"@@@",
106 "@@@STEP_LOG_LINE@json.output@ ], @@@",
107 "@@@STEP_LOG_LINE@json.output@ \"name\": \"media_perftests\", @@@",
108 "@@@STEP_LOG_LINE@json.output@ \"script\": \"gtest_perf_test.py\"@@ @",
107 "@@@STEP_LOG_LINE@json.output@ }@@@", 109 "@@@STEP_LOG_LINE@json.output@ }@@@",
108 "@@@STEP_LOG_LINE@json.output@ ]@@@", 110 "@@@STEP_LOG_LINE@json.output@ ]@@@",
109 "@@@STEP_LOG_LINE@json.output@ }@@@", 111 "@@@STEP_LOG_LINE@json.output@ }@@@",
110 "@@@STEP_LOG_LINE@json.output@}@@@", 112 "@@@STEP_LOG_LINE@json.output@}@@@",
111 "@@@STEP_LOG_END@json.output@@@" 113 "@@@STEP_LOG_END@json.output@@@"
112 ] 114 ]
113 }, 115 },
114 { 116 {
115 "cmd": [ 117 "cmd": [
116 "python", 118 "python",
117 "-u", 119 "-u",
118 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py", 120 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py",
119 "--output", 121 "--output",
120 "/path/to/tmp/json", 122 "/path/to/tmp/json",
121 "--", 123 "--",
122 "--build-config-fs", 124 "--build-config-fs",
123 "Release", 125 "Release",
124 "--paths", 126 "--paths",
125 "{\"build\": \"[BUILD]\", \"checkout\": \"[SLAVE_BUILD]/src\"}", 127 "{\"build\": \"[BUILD]\", \"checkout\": \"[SLAVE_BUILD]/src\"}",
126 "--properties", 128 "--properties",
127 "{\"buildername\": \"Linux Tests\", \"buildnumber\": 571, \"slavename\": \ "TestSlavename\"}" 129 "{\"buildername\": \"Linux Tests\", \"buildnumber\": 571, \"mastername\": \"chromium.linux\", \"slavename\": \"TestSlavename\", \"target_platform\": \"lin ux\"}"
128 ], 130 ],
129 "name": "get compile targets for scripts", 131 "name": "get compile targets for scripts",
130 "~followup_annotations": [ 132 "~followup_annotations": [
131 "@@@STEP_LOG_LINE@json.output@{}@@@", 133 "@@@STEP_LOG_LINE@json.output@{}@@@",
132 "@@@STEP_LOG_END@json.output@@@" 134 "@@@STEP_LOG_END@json.output@@@"
133 ] 135 ]
134 }, 136 },
135 { 137 {
136 "cmd": [ 138 "cmd": [
137 "python", 139 "python",
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 "--build_revision", 172 "--build_revision",
171 "f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9", 173 "f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9",
172 "--factory-properties", 174 "--factory-properties",
173 "{\"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\" }", 175 "{\"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\" }",
174 "--build-properties", 176 "--build-properties",
175 "{\"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\" }" 177 "{\"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\" }"
176 ], 178 ],
177 "name": "extract build" 179 "name": "extract build"
178 }, 180 },
179 { 181 {
180 "allow_subannotations": true,
181 "cmd": [ 182 "cmd": [
182 "python", 183 "python",
183 "-u", 184 "-u",
184 "[BUILD]/scripts/slave/runtest.py", 185 "[SLAVE_BUILD]/src/testing/scripts/gtest_perf_test.py",
185 "--target", 186 "--build-config-fs",
186 "Release", 187 "Release",
187 "--xvfb", 188 "--paths",
188 "--factory-properties", 189 "{\"build\": \"[BUILD]\", \"checkout\": \"[SLAVE_BUILD]/src\"}",
189 "{\"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\" }", 190 "--properties",
190 "--build-properties", 191 "{\"buildername\": \"Linux Tests\", \"buildnumber\": 571, \"mastername\": \"chromium.linux\", \"slavename\": \"TestSlavename\", \"target_platform\": \"lin ux\"}",
191 "{\"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\" }", 192 "--args",
192 "--annotate=gtest", 193 "[\"media_perftests\", \"--single-process-tests\"]",
193 "--test-type=base_unittests", 194 "run",
194 "--test-launcher-summary-output", 195 "--output",
195 "/path/to/tmp/json", 196 "/path/to/tmp/json"
196 "--generate-json-file",
197 "-o",
198 "gtest-results/base_unittests",
199 "--builder-name=Linux Tests",
200 "--slave-name=TestSlavename",
201 "--build-number=571",
202 "base_unittests"
203 ], 197 ],
204 "name": "base_unittests" 198 "name": "media_perftests",
205 }, 199 "~followup_annotations": [
206 { 200 "@@@STEP_LOG_LINE@json.output@{@@@",
207 "allow_subannotations": true, 201 "@@@STEP_LOG_LINE@json.output@ \"failures\": [], @@@",
208 "cmd": [ 202 "@@@STEP_LOG_LINE@json.output@ \"valid\": true@@@",
209 "python", 203 "@@@STEP_LOG_LINE@json.output@}@@@",
210 "-u", 204 "@@@STEP_LOG_END@json.output@@@"
211 "[BUILD]/scripts/slave/runtest.py", 205 ]
212 "--target",
213 "Release",
214 "--xvfb",
215 "--factory-properties",
216 "{\"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\" }",
217 "--build-properties",
218 "{\"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\" }",
219 "--annotate=gtest",
220 "--test-type=browser_tests",
221 "--test-launcher-summary-output",
222 "/path/to/tmp/json",
223 "--generate-json-file",
224 "-o",
225 "gtest-results/browser_tests",
226 "--builder-name=Linux Tests",
227 "--slave-name=TestSlavename",
228 "--build-number=571",
229 "browser_tests",
230 "--test-launcher-shard-index=0",
231 "--test-launcher-total-shards=2"
232 ],
233 "name": "browser_tests"
234 } 206 }
235 ] 207 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698