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

Side by Side Diff: scripts/slave/recipes/cronet.expected/android_cronet_tester.json

Issue 2400963002: Fix file.copy recipe_module to not fail if files are already equal. (Closed)
Patch Set: all expectations, omg! Created 4 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 "\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 641 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug", 652 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug",
653 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 653 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
654 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 654 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
655 }, 655 },
656 "name": "stack_tool_with_logcat_dump" 656 "name": "stack_tool_with_logcat_dump"
657 }, 657 },
658 { 658 {
659 "cmd": [ 659 "cmd": [
660 "python", 660 "python",
661 "-u", 661 "-u",
662 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 662 "\nimport shutil\nimport sys\n# Apparently, shutil.copy fails if files are binary-equal on *nix OSes.\n# See http://crbug.com/636168#c8.\nif hasattr(shuti l, '_samefile'):\n if shutil._samefile(sys.argv[1], sys.argv[2]):\n sys.exit (0)\nshutil.copy(sys.argv[1], sys.argv[2])\n",
663 "[SLAVE_BUILD]/src/chrome/VERSION", 663 "[SLAVE_BUILD]/src/chrome/VERSION",
664 "/path/to/tmp/" 664 "/path/to/tmp/"
665 ], 665 ],
666 "name": "get version" 666 "name": "get version"
667 }, 667 },
668 { 668 {
669 "cmd": [ 669 "cmd": [
670 "[SLAVE_BUILD]/src/build/android/tombstones.py", 670 "[SLAVE_BUILD]/src/build/android/tombstones.py",
671 "-a", 671 "-a",
672 "-s", 672 "-s",
(...skipping 24 matching lines...) Expand all
697 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 697 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
698 "@@@STEP_LOG_END@python.inline@@@" 698 "@@@STEP_LOG_END@python.inline@@@"
699 ] 699 ]
700 }, 700 },
701 { 701 {
702 "name": "$result", 702 "name": "$result",
703 "recipe_result": null, 703 "recipe_result": null,
704 "status_code": 0 704 "status_code": 0
705 } 705 }
706 ] 706 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698