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

Side by Side Diff: recipe_modules/raw_io/example.expected/basic.json

Issue 1773273003: Make output placeholders like json.output index-able by name. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/recipes-py@master
Patch Set: Address comments. Created 4 years, 9 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 "Hello World" 5 "Hello World"
6 ], 6 ],
7 "cwd": "[SLAVE_BUILD]", 7 "cwd": "[SLAVE_BUILD]",
8 "name": "echo", 8 "name": "echo",
9 "stderr": "/path/to/tmp/", 9 "stderr": "/path/to/tmp/",
10 "stdout": "/path/to/tmp/" 10 "stdout": "/path/to/tmp/"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 }, 57 },
58 { 58 {
59 "cmd": [ 59 "cmd": [
60 "ls", 60 "ls",
61 "[SLAVE_BUILD]/out" 61 "[SLAVE_BUILD]/out"
62 ], 62 ],
63 "cwd": "[SLAVE_BUILD]", 63 "cwd": "[SLAVE_BUILD]",
64 "name": "leak dir" 64 "name": "leak dir"
65 }, 65 },
66 { 66 {
67 "cmd": [
68 "python",
69 "-u",
70 "\nimport sys\nwith open(sys.argv[1], 'w') as f:\n f.write('bad_value')\n ",
71 "/path/to/tmp/"
72 ],
73 "cwd": "[SLAVE_BUILD]",
74 "name": "override_default_mock",
75 "~followup_annotations": [
76 "@@@STEP_LOG_LINE@python.inline@@@@",
77 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
78 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@",
79 "@@@STEP_LOG_LINE@python.inline@ f.write('bad_value')@@@",
80 "@@@STEP_LOG_END@python.inline@@@"
81 ]
82 },
83 {
67 "name": "$result", 84 "name": "$result",
68 "recipe_result": null, 85 "recipe_result": null,
69 "status_code": 0 86 "status_code": 0
70 } 87 }
71 ] 88 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698