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

Side by Side Diff: recipe_modules/json/examples/full.expected/basic.json

Issue 2909983003: [loader] Make recipe engine support examples/ module subdir (Closed)
Patch Set: Created 3 years, 6 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 "echo", 4 "echo",
5 "[1, 2, 3]" 5 "[1, 2, 3]"
6 ], 6 ],
7 "name": "echo1", 7 "name": "echo1",
8 "stdout": "/path/to/tmp/json", 8 "stdout": "/path/to/tmp/json",
9 "~followup_annotations": [ 9 "~followup_annotations": [
10 "@@@STEP_LOG_LINE@json.output@[@@@", 10 "@@@STEP_LOG_LINE@json.output@[@@@",
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 "@@@STEP_LOG_LINE@json.output@{@@@", 106 "@@@STEP_LOG_LINE@json.output@{@@@",
107 "@@@STEP_LOG_LINE@json.output@ \"x\": 1, @@@", 107 "@@@STEP_LOG_LINE@json.output@ \"x\": 1, @@@",
108 "@@@STEP_LOG_LINE@json.output@ \"y\": 2@@@", 108 "@@@STEP_LOG_LINE@json.output@ \"y\": 2@@@",
109 "@@@STEP_LOG_LINE@json.output@}@@@", 109 "@@@STEP_LOG_LINE@json.output@}@@@",
110 "@@@STEP_LOG_END@json.output@@@" 110 "@@@STEP_LOG_END@json.output@@@"
111 ] 111 ]
112 }, 112 },
113 { 113 {
114 "cmd": [ 114 "cmd": [
115 "python", 115 "python",
116 "RECIPE[recipe_engine::json:example].resources/cool_script.py", 116 "RECIPE[recipe_engine::json:examples/full].resources/cool_script.py",
117 "{\"x\":1,\"y\":2}", 117 "{\"x\":1,\"y\":2}",
118 "[TMP_BASE]/leak.json" 118 "[TMP_BASE]/leak.json"
119 ], 119 ],
120 "name": "leaking json", 120 "name": "leaking json",
121 "~followup_annotations": [ 121 "~followup_annotations": [
122 "@@@STEP_LOG_LINE@json.output@{@@@", 122 "@@@STEP_LOG_LINE@json.output@{@@@",
123 "@@@STEP_LOG_LINE@json.output@ \"x\": 1, @@@", 123 "@@@STEP_LOG_LINE@json.output@ \"x\": 1, @@@",
124 "@@@STEP_LOG_LINE@json.output@ \"y\": 2@@@", 124 "@@@STEP_LOG_LINE@json.output@ \"y\": 2@@@",
125 "@@@STEP_LOG_LINE@json.output@}@@@", 125 "@@@STEP_LOG_LINE@json.output@}@@@",
126 "@@@STEP_LOG_END@json.output@@@" 126 "@@@STEP_LOG_END@json.output@@@"
127 ] 127 ]
128 }, 128 },
129 { 129 {
130 "cmd": [ 130 "cmd": [
131 "python", 131 "python",
132 "RECIPE[recipe_engine::json:example].resources/cool_script.py", 132 "RECIPE[recipe_engine::json:examples/full].resources/cool_script.py",
133 "{\"here is some total\ngarbage", 133 "{\"here is some total\ngarbage",
134 "/path/to/tmp/json" 134 "/path/to/tmp/json"
135 ], 135 ],
136 "name": "invalid json", 136 "name": "invalid json",
137 "~followup_annotations": [ 137 "~followup_annotations": [
138 "@@@STEP_LOG_LINE@json.output (invalid)@{\"here is some total@@@", 138 "@@@STEP_LOG_LINE@json.output (invalid)@{\"here is some total@@@",
139 "@@@STEP_LOG_LINE@json.output (invalid)@garbage@@@", 139 "@@@STEP_LOG_LINE@json.output (invalid)@garbage@@@",
140 "@@@STEP_LOG_END@json.output (invalid)@@@", 140 "@@@STEP_LOG_END@json.output (invalid)@@@",
141 "@@@STEP_LOG_LINE@json.output (exception)@Invalid control character at: li ne 1 column 21 (char 20)@@@", 141 "@@@STEP_LOG_LINE@json.output (exception)@Invalid control character at: li ne 1 column 21 (char 20)@@@",
142 "@@@STEP_LOG_END@json.output (exception)@@@" 142 "@@@STEP_LOG_END@json.output (exception)@@@"
143 ] 143 ]
144 }, 144 },
145 { 145 {
146 "name": "$result", 146 "name": "$result",
147 "recipe_result": null, 147 "recipe_result": null,
148 "status_code": 0 148 "status_code": 0
149 } 149 }
150 ] 150 ]
OLDNEW
« no previous file with comments | « recipe_modules/json/examples/full.py ('k') | recipe_modules/json/examples/full.resources/cool_script.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698