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

Side by Side Diff: scripts/slave/recipes/android/tester.expected/android_rel_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, 3 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_rel_tests_recipe", 10 "android_rel_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\", \"telemet ry_unittests\", \"telemetry_perf_unittests\"]}", 140 "{\"files\": [\"foo.cc\"], \"targets\": [\"mojo_test_apk\", \"android_webv iew_test_apk\", \"chrome_shell_test_apk\", \"content_shell_test_apk\", \"telemet ry_unittests\", \"telemetry_perf_unittests\", \"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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 "chrome:chrome/test/data/android/device_files", 292 "chrome:chrome/test/data/android/device_files",
290 "--verbose", 293 "--verbose",
291 "--release" 294 "--release"
292 ], 295 ],
293 "name": "Instrumentation test ChromeShellTest" 296 "name": "Instrumentation test ChromeShellTest"
294 }, 297 },
295 { 298 {
296 "cmd": [ 299 "cmd": [
297 "python", 300 "python",
298 "-u", 301 "-u",
302 "[SLAVE_BUILD]/src/build/android/test_runner.py",
303 "junit",
304 "-s",
305 "junit_unit_tests",
306 "--verbose"
307 ],
308 "env": {
309 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
310 },
311 "name": "junit_unit_tests"
312 },
313 {
314 "cmd": [
315 "python",
316 "-u",
299 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", 317 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
300 "--output-path", 318 "--output-path",
301 "[SLAVE_BUILD]/src/out/Release/full_log", 319 "[SLAVE_BUILD]/src/out/Release/full_log",
302 "[SLAVE_BUILD]/src/out/logcat" 320 "[SLAVE_BUILD]/src/out/logcat"
303 ], 321 ],
304 "name": "logcat_dump" 322 "name": "logcat_dump"
305 }, 323 },
306 { 324 {
307 "cmd": [ 325 "cmd": [
308 "python", 326 "python",
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", 375 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@",
358 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", 376 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@",
359 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", 377 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@",
360 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", 378 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@",
361 "@@@STEP_LOG_LINE@python.inline@ print l@@@", 379 "@@@STEP_LOG_LINE@python.inline@ print l@@@",
362 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 380 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
363 "@@@STEP_LOG_END@python.inline@@@" 381 "@@@STEP_LOG_END@python.inline@@@"
364 ] 382 ]
365 } 383 }
366 ] 384 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698