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

Side by Side Diff: scripts/slave/recipes/cronet.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: Add call to authorize script and add 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", 186 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
187 "[SLAVE_BUILD]/src/out/logcat" 187 "[SLAVE_BUILD]/src/out/logcat"
188 ], 188 ],
189 "env": { 189 "env": {
190 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 190 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
191 }, 191 },
192 "name": "spawn_logcat_monitor" 192 "name": "spawn_logcat_monitor"
193 }, 193 },
194 { 194 {
195 "cmd": [ 195 "cmd": [
196 "[BUILD]/scripts/slave/android/authorize_adb_devices"
197 ],
198 "env": {
199 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
200 },
201 "name": "authorize_adb_devices"
202 },
203 {
204 "cmd": [
196 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", 205 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
197 "--json-output", 206 "--json-output",
198 "/path/to/tmp/json" 207 "/path/to/tmp/json"
199 ], 208 ],
200 "env": { 209 "env": {
201 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 210 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
202 }, 211 },
203 "name": "device_status_check", 212 "name": "device_status_check",
204 "~followup_annotations": [ 213 "~followup_annotations": [
205 "@@@STEP_TEXT@Online devices: 1@@@", 214 "@@@STEP_TEXT@Online devices: 1@@@",
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", 344 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@",
336 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", 345 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@",
337 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", 346 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@",
338 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", 347 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@",
339 "@@@STEP_LOG_LINE@python.inline@ print l@@@", 348 "@@@STEP_LOG_LINE@python.inline@ print l@@@",
340 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 349 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
341 "@@@STEP_LOG_END@python.inline@@@" 350 "@@@STEP_LOG_END@python.inline@@@"
342 ] 351 ]
343 } 352 }
344 ] 353 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698