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

Side by Side Diff: scripts/slave/recipes/android/tester.expected/android_dbg_tests_recipe.json

Issue 591333002: [Android] Run java unit tests on the android tester bots. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: rebase Created 6 years, 2 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 "tryserver.chromium.linux", 8 "tryserver.chromium.linux",
9 "--builder", 9 "--builder",
10 "android_dbg_tests_recipe", 10 "android_dbg_tests_recipe",
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 "cwd": "[SLAVE_BUILD]/src", 130 "cwd": "[SLAVE_BUILD]/src",
131 "name": "git diff to analyze patch", 131 "name": "git diff to analyze patch",
132 "stdout": "/path/to/tmp/" 132 "stdout": "/path/to/tmp/"
133 }, 133 },
134 { 134 {
135 "cmd": [ 135 "cmd": [
136 "python", 136 "python",
137 "-u", 137 "-u",
138 "[SLAVE_BUILD]/src/build/gyp_chromium", 138 "[SLAVE_BUILD]/src/build/gyp_chromium",
139 "--analyzer", 139 "--analyzer",
140 "{\"files\": [\"foo.cc\"], \"targets\": [\"mojo_test_apk\", \"android_webv iew_test_apk\", \"chrome_shell_test_apk\", \"content_shell_test_apk\", \"base_un ittests\", \"breakpad_unittests\", \"cc_unittests\", \"components_unittests\", \ "content_browsertests\", \"content_unittests\", \"events_unittests\", \"gl_tests \", \"gpu_unittests\", \"ipc_tests\", \"media_unittests\", \"net_unittests\", \" sandbox_linux_unittests\", \"sql_unittests\", \"sync_unit_tests\", \"ui_unittest s\", \"unit_tests\", \"webkit_unit_tests\"]}", 140 "{\"files\": [\"foo.cc\"], \"targets\": [\"mojo_test_apk\", \"android_webv iew_test_apk\", \"chrome_shell_test_apk\", \"content_shell_test_apk\", \"base_un ittests\", \"breakpad_unittests\", \"cc_unittests\", \"components_unittests\", \ "content_browsertests\", \"content_unittests\", \"events_unittests\", \"gl_tests \", \"gpu_unittests\", \"ipc_tests\", \"media_unittests\", \"net_unittests\", \" sandbox_linux_unittests\", \"sql_unittests\", \"sync_unit_tests\", \"ui_unittest s\", \"unit_tests\", \"webkit_unit_tests\", \"junit_unit_tests\"]}",
141 "/path/to/tmp/json" 141 "/path/to/tmp/json"
142 ], 142 ],
143 "env": { 143 "env": {
144 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[ BUILD]/goma' target_arch=arm use_goma=1" 144 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[ BUILD]/goma' target_arch=arm use_goma=1"
145 }, 145 },
146 "name": "analyze", 146 "name": "analyze",
147 "~followup_annotations": [ 147 "~followup_annotations": [
148 "@@@STEP_LOG_LINE@json.output@{@@@", 148 "@@@STEP_LOG_LINE@json.output@{@@@",
149 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@", 149 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@",
150 "@@@STEP_LOG_LINE@json.output@ \"breakpad_unittests\", @@@", 150 "@@@STEP_LOG_LINE@json.output@ \"breakpad_unittests\", @@@",
151 "@@@STEP_LOG_LINE@json.output@ \"chrome_shell_test_apk\"@@@", 151 "@@@STEP_LOG_LINE@json.output@ \"chrome_shell_test_apk\", @@@",
152 "@@@STEP_LOG_LINE@json.output@ \"junit_unit_tests\"@@@",
152 "@@@STEP_LOG_LINE@json.output@ ], @@@", 153 "@@@STEP_LOG_LINE@json.output@ ], @@@",
153 "@@@STEP_LOG_LINE@json.output@ \"status\": \"Found dependency\", @@@", 154 "@@@STEP_LOG_LINE@json.output@ \"status\": \"Found dependency\", @@@",
154 "@@@STEP_LOG_LINE@json.output@ \"targets\": [@@@", 155 "@@@STEP_LOG_LINE@json.output@ \"targets\": [@@@",
155 "@@@STEP_LOG_LINE@json.output@ \"breakpad_unittests\", @@@", 156 "@@@STEP_LOG_LINE@json.output@ \"breakpad_unittests\", @@@",
156 "@@@STEP_LOG_LINE@json.output@ \"chrome_shell_test_apk\"@@@", 157 "@@@STEP_LOG_LINE@json.output@ \"chrome_shell_test_apk\", @@@",
158 "@@@STEP_LOG_LINE@json.output@ \"junit_unit_tests\"@@@",
157 "@@@STEP_LOG_LINE@json.output@ ]@@@", 159 "@@@STEP_LOG_LINE@json.output@ ]@@@",
158 "@@@STEP_LOG_LINE@json.output@}@@@", 160 "@@@STEP_LOG_LINE@json.output@}@@@",
159 "@@@STEP_LOG_END@json.output@@@" 161 "@@@STEP_LOG_END@json.output@@@"
160 ] 162 ]
161 }, 163 },
162 { 164 {
163 "allow_subannotations": false, 165 "allow_subannotations": false,
164 "cmd": [ 166 "cmd": [
165 "[SLAVE_BUILD]/src/build/tree_truth.sh", 167 "[SLAVE_BUILD]/src/build/tree_truth.sh",
166 "[SLAVE_BUILD]/src", 168 "[SLAVE_BUILD]/src",
(...skipping 12 matching lines...) Expand all
179 "--src-dir", 181 "--src-dir",
180 "[SLAVE_BUILD]/src", 182 "[SLAVE_BUILD]/src",
181 "--build-tool", 183 "--build-tool",
182 "ninja", 184 "ninja",
183 "--compiler", 185 "--compiler",
184 "goma", 186 "goma",
185 "--goma-dir", 187 "--goma-dir",
186 "[BUILD]/goma", 188 "[BUILD]/goma",
187 "--", 189 "--",
188 "breakpad_unittests", 190 "breakpad_unittests",
189 "chrome_shell_test_apk" 191 "chrome_shell_test_apk",
192 "junit_unit_tests"
190 ], 193 ],
191 "env": { 194 "env": {
192 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 195 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
193 }, 196 },
194 "name": "compile" 197 "name": "compile"
195 }, 198 },
196 { 199 {
197 "cmd": [ 200 "cmd": [
198 "python", 201 "python",
199 "-u", 202 "-u",
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 ], 306 ],
304 "env": { 307 "env": {
305 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 308 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
306 }, 309 },
307 "name": "breakpad_unittests" 310 "name": "breakpad_unittests"
308 }, 311 },
309 { 312 {
310 "cmd": [ 313 "cmd": [
311 "python", 314 "python",
312 "-u", 315 "-u",
316 "[SLAVE_BUILD]/src/build/android/test_runner.py",
317 "junit",
318 "-s",
319 "junit_unit_tests",
320 "--verbose"
321 ],
322 "env": {
323 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
324 },
325 "name": "junit_unit_tests"
326 },
327 {
328 "cmd": [
329 "python",
330 "-u",
313 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", 331 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
314 "--output-path", 332 "--output-path",
315 "[SLAVE_BUILD]/src/out/Debug/full_log", 333 "[SLAVE_BUILD]/src/out/Debug/full_log",
316 "[SLAVE_BUILD]/src/out/logcat" 334 "[SLAVE_BUILD]/src/out/logcat"
317 ], 335 ],
318 "name": "logcat_dump" 336 "name": "logcat_dump"
319 }, 337 },
320 { 338 {
321 "cmd": [ 339 "cmd": [
322 "python", 340 "python",
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", 389 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@",
372 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", 390 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@",
373 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", 391 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@",
374 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", 392 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@",
375 "@@@STEP_LOG_LINE@python.inline@ print l@@@", 393 "@@@STEP_LOG_LINE@python.inline@ print l@@@",
376 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 394 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
377 "@@@STEP_LOG_END@python.inline@@@" 395 "@@@STEP_LOG_END@python.inline@@@"
378 ] 396 ]
379 } 397 }
380 ] 398 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698