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

Side by Side Diff: scripts/slave/recipe_modules/cronet/example.expected/local_test.json

Issue 979013002: Add authorize_adb_keys step that will add host key to device. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Rebased and added expectations. 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 | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files :\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n", 6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files :\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n",
7 "[SLAVE_BUILD]" 7 "[SLAVE_BUILD]"
8 ], 8 ],
9 "name": "cleanup index.lock", 9 "name": "cleanup index.lock",
10 "~followup_annotations": [ 10 "~followup_annotations": [
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", 225 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
226 "[SLAVE_BUILD]/src/out/logcat" 226 "[SLAVE_BUILD]/src/out/logcat"
227 ], 227 ],
228 "env": { 228 "env": {
229 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 229 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
230 }, 230 },
231 "name": "spawn_logcat_monitor" 231 "name": "spawn_logcat_monitor"
232 }, 232 },
233 { 233 {
234 "cmd": [ 234 "cmd": [
235 "python",
236 "-u",
237 "[BUILD]/scripts/slave/android/authorize_adb_devices.py",
238 "--adb-path",
239 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
240 ],
241 "env": {
242 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
243 },
244 "name": "authorize_adb_devices"
245 },
246 {
247 "cmd": [
235 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", 248 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
236 "--json-output", 249 "--json-output",
237 "/path/to/tmp/json" 250 "/path/to/tmp/json"
238 ], 251 ],
239 "env": { 252 "env": {
240 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 253 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
241 }, 254 },
242 "name": "device_status_check", 255 "name": "device_status_check",
243 "~followup_annotations": [ 256 "~followup_annotations": [
244 "@@@STEP_TEXT@Online devices: 1@@@", 257 "@@@STEP_TEXT@Online devices: 1@@@",
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", 387 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@",
375 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", 388 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@",
376 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", 389 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@",
377 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", 390 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@",
378 "@@@STEP_LOG_LINE@python.inline@ print l@@@", 391 "@@@STEP_LOG_LINE@python.inline@ print l@@@",
379 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 392 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
380 "@@@STEP_LOG_END@python.inline@@@" 393 "@@@STEP_LOG_END@python.inline@@@"
381 ] 394 ]
382 } 395 }
383 ] 396 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698