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

Side by Side Diff: scripts/slave/recipe_modules/chromedriver/example.expected/Android_ChromeDriver_test_failure.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 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", 6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
7 "--spec", 7 "--spec",
8 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag ed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src .git'}]", 8 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag ed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src .git'}]",
9 "--patch_root", 9 "--patch_root",
10 "src", 10 "src",
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 ], 646 ],
647 "name": "Download Test Results Log.gsutil download results log", 647 "name": "Download Test Results Log.gsutil download results log",
648 "~followup_annotations": [ 648 "~followup_annotations": [
649 "@@@STEP_NEST_LEVEL@1@@@" 649 "@@@STEP_NEST_LEVEL@1@@@"
650 ] 650 ]
651 }, 651 },
652 { 652 {
653 "cmd": [ 653 "cmd": [
654 "python", 654 "python",
655 "-u", 655 "-u",
656 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 656 "\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",
657 "[TMP_BASE]/results_log_tmp_10/android_log.json", 657 "[TMP_BASE]/results_log_tmp_10/android_log.json",
658 "/path/to/tmp/" 658 "/path/to/tmp/"
659 ], 659 ],
660 "name": "Download Test Results Log.read results log file", 660 "name": "Download Test Results Log.read results log file",
661 "~followup_annotations": [ 661 "~followup_annotations": [
662 "@@@STEP_NEST_LEVEL@1@@@" 662 "@@@STEP_NEST_LEVEL@1@@@"
663 ] 663 ]
664 }, 664 },
665 { 665 {
666 "cmd": [ 666 "cmd": [
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 "~followup_annotations": [ 720 "~followup_annotations": [
721 "@@@STEP_NEST_LEVEL@1@@@" 721 "@@@STEP_NEST_LEVEL@1@@@"
722 ] 722 ]
723 }, 723 },
724 { 724 {
725 "name": "$result", 725 "name": "$result",
726 "recipe_result": null, 726 "recipe_result": null,
727 "status_code": 0 727 "status_code": 0
728 } 728 }
729 ] 729 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698