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

Side by Side Diff: recipe_modules/step/example.expected/warning.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
« no previous file with comments | « recipe_modules/step/example.expected/timeout.json ('k') | recipe_modules/step/examples/full.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 [
2 {
3 "cmd": [
4 "echo",
5 "Hello World"
6 ],
7 "name": "hello"
8 },
9 {
10 "cmd": [
11 "echo",
12 "Why hello, there."
13 ],
14 "name": "hello (2)"
15 },
16 {
17 "cmd": [
18 "mkdir",
19 "-p",
20 "something"
21 ],
22 "name": "mk subdir"
23 },
24 {
25 "cmd": [
26 "bash",
27 "-c",
28 "echo Why hello, there, in a subdir."
29 ],
30 "cwd": "[START_DIR]/something",
31 "name": "something"
32 },
33 {
34 "cmd": [
35 "bash",
36 "-c",
37 "echo what happen"
38 ],
39 "name": "start_dir ignored"
40 },
41 {
42 "cmd": [
43 "bash",
44 "-c",
45 "echo Good bye, $friend."
46 ],
47 "env": {
48 "friend": "Darth Vader"
49 },
50 "name": "goodbye"
51 },
52 {
53 "cmd": [
54 "recipes.py",
55 "--help"
56 ],
57 "env": {
58 "PATH": "RECIPE_PACKAGE_REPO[recipe_engine]:%(PATH)s"
59 },
60 "name": "recipes help"
61 },
62 {
63 "cmd": [
64 "bash",
65 "-c",
66 "exit 3"
67 ],
68 "name": "anything is cool"
69 },
70 {
71 "cmd": [
72 "echo",
73 "hello"
74 ],
75 "name": "hello (3)",
76 "~followup_annotations": [
77 "@@@STEP_LOG_LINE@the reason@The reason@@@",
78 "@@@STEP_LOG_LINE@the reason@it failed@@@",
79 "@@@STEP_LOG_END@the reason@@@",
80 "@@@STEP_EXCEPTION@@@"
81 ]
82 },
83 {
84 "cmd": [],
85 "name": "Just print stuff",
86 "~followup_annotations": [
87 "@@@STEP_LOG_LINE@more@More stuff@@@",
88 "@@@STEP_LOG_END@more@@@"
89 ]
90 },
91 {
92 "cmd": [
93 "echo",
94 "goodbye"
95 ],
96 "name": "goodbye (2)"
97 },
98 {
99 "cmd": [
100 "echo",
101 "warning"
102 ],
103 "name": "warning",
104 "~followup_annotations": [
105 "step returned non-zero exit code: 1",
106 "@@@STEP_WARNINGS@@@"
107 ]
108 },
109 {
110 "name": "$result",
111 "reason": "Step('warning') failed with return_code 1",
112 "recipe_result": null,
113 "status_code": 1
114 }
115 ]
OLDNEW
« no previous file with comments | « recipe_modules/step/example.expected/timeout.json ('k') | recipe_modules/step/examples/full.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698