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

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/example.expected/webview_cts_basic.json

Issue 2402583003: Revert "Fix file.copy recipe_module to not fail if files are already equal." (Closed)
Patch Set: 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 "src", 181 "src",
182 "foo", 182 "foo",
183 "src/repo" 183 "src/repo"
184 ], 184 ],
185 "name": "tree truth steps" 185 "name": "tree truth steps"
186 }, 186 },
187 { 187 {
188 "cmd": [ 188 "cmd": [
189 "python", 189 "python",
190 "-u", 190 "-u",
191 "\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", 191 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
192 "[SLAVE_BUILD]/src/chrome/VERSION", 192 "[SLAVE_BUILD]/src/chrome/VERSION",
193 "/path/to/tmp/" 193 "/path/to/tmp/"
194 ], 194 ],
195 "name": "get version" 195 "name": "get version"
196 }, 196 },
197 { 197 {
198 "cmd": [ 198 "cmd": [
199 "[SLAVE_BUILD]/src/testing/scripts/host_info.py", 199 "[SLAVE_BUILD]/src/testing/scripts/host_info.py",
200 "--args", 200 "--args",
201 "[\"--known-devices-file\", \"[HOME]/.android/known_devices.json\"]", 201 "[\"--known-devices-file\", \"[HOME]/.android/known_devices.json\"]",
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
639 ] 639 ]
640 }, 640 },
641 { 641 {
642 "cmd": [], 642 "cmd": [],
643 "name": "fix_device_file_format" 643 "name": "fix_device_file_format"
644 }, 644 },
645 { 645 {
646 "cmd": [ 646 "cmd": [
647 "python", 647 "python",
648 "-u", 648 "-u",
649 "\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", 649 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
650 "[HOME]/.android/known_devices.json", 650 "[HOME]/.android/known_devices.json",
651 "/path/to/tmp/" 651 "/path/to/tmp/"
652 ], 652 ],
653 "name": "fix_device_file_format.read_device_file", 653 "name": "fix_device_file_format.read_device_file",
654 "~followup_annotations": [ 654 "~followup_annotations": [
655 "@@@STEP_NEST_LEVEL@1@@@", 655 "@@@STEP_NEST_LEVEL@1@@@",
656 "@@@STEP_TEXT@file format is compatible@@@" 656 "@@@STEP_TEXT@file format is compatible@@@"
657 ] 657 ]
658 }, 658 },
659 { 659 {
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
917 "webview", 917 "webview",
918 "--webview_arg_1", 918 "--webview_arg_1",
919 "--webview_arg_2" 919 "--webview_arg_2"
920 ], 920 ],
921 "name": "write webview command line file" 921 "name": "write webview command line file"
922 }, 922 },
923 { 923 {
924 "cmd": [ 924 "cmd": [
925 "python", 925 "python",
926 "-u", 926 "-u",
927 "\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", 927 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
928 "[SLAVE_BUILD]/src/android_webview/tools/cts_config/webview_cts_gcs_path.j son", 928 "[SLAVE_BUILD]/src/android_webview/tools/cts_config/webview_cts_gcs_path.j son",
929 "/path/to/tmp/" 929 "/path/to/tmp/"
930 ], 930 ],
931 "name": "Fetch CTS filename data" 931 "name": "Fetch CTS filename data"
932 }, 932 },
933 { 933 {
934 "cmd": [ 934 "cmd": [
935 "python", 935 "python",
936 "-u", 936 "-u",
937 "\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", 937 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
938 "[SLAVE_BUILD]/src/android_webview/tools/cts_config/expected_failure_on_bo t.json", 938 "[SLAVE_BUILD]/src/android_webview/tools/cts_config/expected_failure_on_bo t.json",
939 "/path/to/tmp/" 939 "/path/to/tmp/"
940 ], 940 ],
941 "name": "Fetch expected failures data" 941 "name": "Fetch expected failures data"
942 }, 942 },
943 { 943 {
944 "cmd": [], 944 "cmd": [],
945 "name": "Update CTS" 945 "name": "Update CTS"
946 }, 946 },
947 { 947 {
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
1044 "@@@STEP_LOG_END@disabled_tests@@@" 1044 "@@@STEP_LOG_END@disabled_tests@@@"
1045 ] 1045 ]
1046 }, 1046 },
1047 { 1047 {
1048 "name": "$result", 1048 "name": "$result",
1049 "reason": "Failed to parse the CTS output for the xml report file location", 1049 "reason": "Failed to parse the CTS output for the xml report file location",
1050 "recipe_result": null, 1050 "recipe_result": null,
1051 "status_code": 1 1051 "status_code": 1
1052 } 1052 }
1053 ] 1053 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698