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

Side by Side Diff: scripts/slave/recipes/chromium.expected/full_chromium_lkgr_Mac_ASAN_Debug.json

Issue 2399353002: Chromium-recipe: add rmtree before copy for llvm_tools_to_copy. (Closed)
Patch Set: Added expected results generated by simulation test. 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]/Mac_ASAN_Debug", 7 "[BUILDER_CACHE]/Mac_ASAN_Debug",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout path", 10 "name": "makedirs checkout path",
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 "name": "compile", 313 "name": "compile",
314 "~followup_annotations": [ 314 "~followup_annotations": [
315 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", 315 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
316 "@@@STEP_LOG_END@json.output (invalid)@@@" 316 "@@@STEP_LOG_END@json.output (invalid)@@@"
317 ] 317 ]
318 }, 318 },
319 { 319 {
320 "cmd": [ 320 "cmd": [
321 "python", 321 "python",
322 "-u", 322 "-u",
323 "\nimport os, sys\nfrom common import chromium_utils # Error? See https:// crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD irectory(sys.argv[1])\n",
324 "[BUILDER_CACHE]/Mac_ASAN_Debug/src/out/Debug/llvm-symbolizer"
325 ],
326 "name": "rmtree Purge llvm-symbolizer",
327 "~followup_annotations": [
328 "@@@STEP_LOG_LINE@python.inline@@@@",
329 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
330 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
331 "@@@STEP_LOG_LINE@python.inline@@@@",
332 "@@@STEP_LOG_LINE@python.inline@@@@",
333 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
334 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
335 "@@@STEP_LOG_END@python.inline@@@"
336 ]
337 },
338 {
339 "cmd": [
340 "python",
341 "-u",
342 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
343 "[BUILDER_CACHE]/Mac_ASAN_Debug/src/third_party/llvm-build/Release+Asserts /bin/llvm-symbolizer",
344 "[BUILDER_CACHE]/Mac_ASAN_Debug/src/out/Debug"
345 ],
346 "name": "Copy llvm-symbolizer"
347 },
348 {
349 "cmd": [
350 "python",
351 "-u",
352 "\nimport os, sys\nfrom common import chromium_utils # Error? See https:// crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD irectory(sys.argv[1])\n",
353 "[BUILDER_CACHE]/Mac_ASAN_Debug/src/out/Debug/sancov"
354 ],
355 "name": "rmtree Purge sancov",
356 "~followup_annotations": [
357 "@@@STEP_LOG_LINE@python.inline@@@@",
358 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
359 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
360 "@@@STEP_LOG_LINE@python.inline@@@@",
361 "@@@STEP_LOG_LINE@python.inline@@@@",
362 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
363 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
364 "@@@STEP_LOG_END@python.inline@@@"
365 ]
366 },
367 {
368 "cmd": [
369 "python",
370 "-u",
371 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
372 "[BUILDER_CACHE]/Mac_ASAN_Debug/src/third_party/llvm-build/Release+Asserts /bin/sancov",
373 "[BUILDER_CACHE]/Mac_ASAN_Debug/src/out/Debug"
374 ],
375 "name": "Copy sancov"
376 },
377 {
378 "cmd": [
379 "python",
380 "-u",
323 "\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", 381 "\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",
324 "[BUILDER_CACHE]/Mac_ASAN_Debug/src/out/Debug", 382 "[BUILDER_CACHE]/Mac_ASAN_Debug/src/out/Debug",
325 "/path/to/tmp/json" 383 "/path/to/tmp/json"
326 ], 384 ],
327 "name": "listdir build_dir", 385 "name": "listdir build_dir",
328 "~followup_annotations": [ 386 "~followup_annotations": [
329 "@@@STEP_LOG_LINE@json.output@[@@@", 387 "@@@STEP_LOG_LINE@json.output@[@@@",
330 "@@@STEP_LOG_LINE@json.output@ \"file 1\", @@@", 388 "@@@STEP_LOG_LINE@json.output@ \"file 1\", @@@",
331 "@@@STEP_LOG_LINE@json.output@ \"file 2\"@@@", 389 "@@@STEP_LOG_LINE@json.output@ \"file 2\"@@@",
332 "@@@STEP_LOG_LINE@json.output@]@@@", 390 "@@@STEP_LOG_LINE@json.output@]@@@",
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@", 447 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@",
390 "@@@STEP_LOG_END@python.inline@@@" 448 "@@@STEP_LOG_END@python.inline@@@"
391 ] 449 ]
392 }, 450 },
393 { 451 {
394 "name": "$result", 452 "name": "$result",
395 "recipe_result": null, 453 "recipe_result": null,
396 "status_code": 0 454 "status_code": 0
397 } 455 }
398 ] 456 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698