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

Side by Side Diff: scripts/slave/recipes/chromium.expected/full_chromium_fyi_CFI_Linux_CF.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 sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", 6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
7 "[BUILDER_CACHE]/CFI_Linux_CF", 7 "[BUILDER_CACHE]/CFI_Linux_CF",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout path", 10 "name": "makedirs checkout path",
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 ], 289 ],
290 "env": { 290 "env": {
291 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 291 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
292 }, 292 },
293 "name": "compile" 293 "name": "compile"
294 }, 294 },
295 { 295 {
296 "cmd": [ 296 "cmd": [
297 "python", 297 "python",
298 "-u", 298 "-u",
299 "\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", 299 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
300 "[BUILDER_CACHE]/CFI_Linux_CF/src/third_party/llvm-build/Release+Asserts/b in/llvm-symbolizer", 300 "[BUILDER_CACHE]/CFI_Linux_CF/src/third_party/llvm-build/Release+Asserts/b in/llvm-symbolizer",
301 "[BUILDER_CACHE]/CFI_Linux_CF/src/out/Release" 301 "[BUILDER_CACHE]/CFI_Linux_CF/src/out/Release"
302 ], 302 ],
303 "name": "Copy llvm-symbolizer" 303 "name": "Copy llvm-symbolizer"
304 }, 304 },
305 { 305 {
306 "cmd": [ 306 "cmd": [
307 "python", 307 "python",
308 "-u", 308 "-u",
309 "\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", 309 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
310 "[BUILDER_CACHE]/CFI_Linux_CF/src/third_party/llvm-build/Release+Asserts/b in/sancov", 310 "[BUILDER_CACHE]/CFI_Linux_CF/src/third_party/llvm-build/Release+Asserts/b in/sancov",
311 "[BUILDER_CACHE]/CFI_Linux_CF/src/out/Release" 311 "[BUILDER_CACHE]/CFI_Linux_CF/src/out/Release"
312 ], 312 ],
313 "name": "Copy sancov" 313 "name": "Copy sancov"
314 }, 314 },
315 { 315 {
316 "cmd": [ 316 "cmd": [
317 "python", 317 "python",
318 "-u", 318 "-u",
319 "\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", 319 "\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",
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@", 385 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@",
386 "@@@STEP_LOG_END@python.inline@@@" 386 "@@@STEP_LOG_END@python.inline@@@"
387 ] 387 ]
388 }, 388 },
389 { 389 {
390 "name": "$result", 390 "name": "$result",
391 "recipe_result": null, 391 "recipe_result": null,
392 "status_code": 0 392 "status_code": 0
393 } 393 }
394 ] 394 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698