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

Side by Side Diff: scripts/slave/recipe_modules/archive/example.expected/cf_archiving_win.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 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",
7 "[SLAVE_BUILD]\\src\\out\\Release\\llvm-symbolizer.exe"
8 ],
9 "name": "rmtree Purge llvm-symbolizer",
10 "~followup_annotations": [
11 "@@@STEP_LOG_LINE@python.inline@@@@",
12 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
13 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
14 "@@@STEP_LOG_LINE@python.inline@@@@",
15 "@@@STEP_LOG_LINE@python.inline@@@@",
16 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
17 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
18 "@@@STEP_LOG_END@python.inline@@@"
19 ]
20 },
21 {
22 "cmd": [
23 "python",
24 "-u",
25 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
26 "None\\third_party\\llvm-build\\Release+Asserts\\bin\\llvm-symbolizer.exe" ,
27 "[SLAVE_BUILD]\\src\\out\\Release"
28 ],
29 "name": "Copy llvm-symbolizer"
30 },
31 {
32 "cmd": [
33 "python",
34 "-u",
35 "\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",
36 "[SLAVE_BUILD]\\src\\out\\Release\\sancov.exe"
37 ],
38 "name": "rmtree Purge sancov",
39 "~followup_annotations": [
40 "@@@STEP_LOG_LINE@python.inline@@@@",
41 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
42 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
43 "@@@STEP_LOG_LINE@python.inline@@@@",
44 "@@@STEP_LOG_LINE@python.inline@@@@",
45 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
46 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
47 "@@@STEP_LOG_END@python.inline@@@"
48 ]
49 },
50 {
51 "cmd": [
52 "python",
53 "-u",
54 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
55 "None\\third_party\\llvm-build\\Release+Asserts\\bin\\sancov.exe",
56 "[SLAVE_BUILD]\\src\\out\\Release"
57 ],
58 "name": "Copy sancov"
59 },
60 {
61 "cmd": [
62 "python",
63 "-u",
6 "\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", 64 "\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",
7 "[SLAVE_BUILD]\\src\\out\\Release", 65 "[SLAVE_BUILD]\\src\\out\\Release",
8 "/path/to/tmp/json" 66 "/path/to/tmp/json"
9 ], 67 ],
10 "name": "listdir build_dir", 68 "name": "listdir build_dir",
11 "~followup_annotations": [ 69 "~followup_annotations": [
12 "@@@STEP_LOG_LINE@json.output@[@@@", 70 "@@@STEP_LOG_LINE@json.output@[@@@",
13 "@@@STEP_LOG_LINE@json.output@ \"chrome\", @@@", 71 "@@@STEP_LOG_LINE@json.output@ \"chrome\", @@@",
14 "@@@STEP_LOG_LINE@json.output@ \"icu.dat\", @@@", 72 "@@@STEP_LOG_LINE@json.output@ \"icu.dat\", @@@",
15 "@@@STEP_LOG_LINE@json.output@ \"lib\", @@@", 73 "@@@STEP_LOG_LINE@json.output@ \"lib\", @@@",
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@", 132 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@",
75 "@@@STEP_LOG_END@python.inline@@@" 133 "@@@STEP_LOG_END@python.inline@@@"
76 ] 134 ]
77 }, 135 },
78 { 136 {
79 "name": "$result", 137 "name": "$result",
80 "recipe_result": null, 138 "recipe_result": null,
81 "status_code": 0 139 "status_code": 0
82 } 140 }
83 ] 141 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698