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

Side by Side Diff: scripts/slave/recipes/chromedriver.expected/Android_ChromeDriver_Tests__dbg__basic.json

Issue 2181693004: Add a check that the Chromedriver prebuilt name is expected. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Changed to Sam's impl Created 4 years, 4 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 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", 6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
7 "--master", 7 "--master",
8 "chromium.fyi", 8 "chromium.fyi",
9 "--builder", 9 "--builder",
10 "Android ChromeDriver Tests (dbg)", 10 "Android ChromeDriver Tests (dbg)",
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 "name": "Download Prebuilts" 447 "name": "Download Prebuilts"
448 }, 448 },
449 { 449 {
450 "cmd": [ 450 "cmd": [
451 "python", 451 "python",
452 "-u", 452 "-u",
453 "[BUILD]/scripts/slave/gsutil_download.py", 453 "[BUILD]/scripts/slave/gsutil_download.py",
454 "--url", 454 "--url",
455 "gs://chromedriver-data/prebuilts", 455 "gs://chromedriver-data/prebuilts",
456 "--dst", 456 "--dst",
457 "[TMP_BASE]/prebuilt_tmp_1/build.zip", 457 "[TMP_BASE]/prebuilt_tmp_1",
458 "--partial-name", 458 "--partial-name",
459 "gs://chromedriver-data/prebuilts/r" 459 "gs://chromedriver-data/prebuilts/r"
460 ], 460 ],
461 "cwd": "[SLAVE_BUILD]", 461 "cwd": "[SLAVE_BUILD]",
462 "name": "Download Prebuilts.download latest prebuilt", 462 "name": "Download Prebuilts.download latest prebuilt",
463 "~followup_annotations": [ 463 "~followup_annotations": [
464 "@@@STEP_NEST_LEVEL@1@@@" 464 "@@@STEP_NEST_LEVEL@1@@@"
465 ] 465 ]
466 }, 466 },
467 { 467 {
468 "cmd": [ 468 "cmd": [
469 "python", 469 "python",
470 "-u", 470 "-u",
471 "\nimport json, os, sys\nif os.path.exists(sys.argv[1]) and os.path.isdir( sys.argv[1]):\n with open(sys.argv[2], 'w') as f:\n json.dump(os.listdir(sys .argv[1]), f)\n",
472 "[TMP_BASE]/prebuilt_tmp_1",
473 "/path/to/tmp/json"
474 ],
475 "name": "Download Prebuilts.listdir get prebuilt filename",
476 "~followup_annotations": [
477 "@@@STEP_NEST_LEVEL@1@@@",
478 "@@@STEP_LOG_LINE@json.output@[@@@",
479 "@@@STEP_LOG_LINE@json.output@ \"r111111.zip\"@@@",
480 "@@@STEP_LOG_LINE@json.output@]@@@",
481 "@@@STEP_LOG_END@json.output@@@",
482 "@@@STEP_LOG_LINE@python.inline@@@@",
483 "@@@STEP_LOG_LINE@python.inline@import json, os, sys@@@",
484 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]) and os.path .isdir(sys.argv[1]):@@@",
485 "@@@STEP_LOG_LINE@python.inline@ with open(sys.argv[2], 'w') as f:@@@",
486 "@@@STEP_LOG_LINE@python.inline@ json.dump(os.listdir(sys.argv[1]), f)@ @@",
487 "@@@STEP_LOG_END@python.inline@@@"
488 ]
489 },
490 {
491 "cmd": [
492 "python",
493 "-u",
471 "RECIPE_MODULE[build::zip]/resources/unzip.py" 494 "RECIPE_MODULE[build::zip]/resources/unzip.py"
472 ], 495 ],
473 "name": "Download Prebuilts.unzip prebuilt", 496 "name": "Download Prebuilts.unzip prebuilt",
474 "stdin": "{\"output\": \"[TMP_BASE]/prebuilt_tmp_1/unzipped\", \"zip_file\": \"[TMP_BASE]/prebuilt_tmp_1/build.zip\"}", 497 "stdin": "{\"output\": \"[TMP_BASE]/prebuilt_tmp_1/unzipped\", \"zip_file\": \"[TMP_BASE]/prebuilt_tmp_1/r111111.zip\"}",
475 "~followup_annotations": [ 498 "~followup_annotations": [
476 "@@@STEP_NEST_LEVEL@1@@@" 499 "@@@STEP_NEST_LEVEL@1@@@"
477 ] 500 ]
478 }, 501 },
479 { 502 {
480 "cmd": [ 503 "cmd": [
481 "python", 504 "python",
482 "-u", 505 "-u",
483 "\nimport shutil\nimport sys\nshutil.move(sys.argv[1], sys.argv[2])\n", 506 "\nimport shutil\nimport sys\nshutil.move(sys.argv[1], sys.argv[2])\n",
484 "[TMP_BASE]/prebuilt_tmp_1/unzipped/chromedriver", 507 "[TMP_BASE]/prebuilt_tmp_1/unzipped/chromedriver",
(...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after
1139 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 1162 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
1140 "@@@STEP_LOG_END@python.inline@@@" 1163 "@@@STEP_LOG_END@python.inline@@@"
1141 ] 1164 ]
1142 }, 1165 },
1143 { 1166 {
1144 "name": "$result", 1167 "name": "$result",
1145 "recipe_result": null, 1168 "recipe_result": null,
1146 "status_code": 0 1169 "status_code": 0
1147 } 1170 }
1148 ] 1171 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698