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

Side by Side Diff: recipe_modules/file/examples/glob.expected/basic.json

Issue 2973133002: [file] fix glob_paths when NO paths match, add tests. (Closed)
Patch Set: Created 3 years, 5 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/file/examples/glob.py ('k') | recipe_modules/file/resources/fileutil.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 "python",
5 "-u",
6 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
7 "--json-output",
8 "/path/to/tmp/json",
9 "copy",
10 "data",
11 "[START_DIR]/thing.pat"
12 ],
13 "infra_step": true,
14 "name": "write thing.pat"
15 },
16 {
17 "cmd": [
18 "python",
19 "-u",
20 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
21 "--json-output",
22 "/path/to/tmp/json",
23 "copy",
24 "data",
25 "[START_DIR]/other.pat"
26 ],
27 "infra_step": true,
28 "name": "write other.pat"
29 },
30 {
31 "cmd": [
32 "python",
33 "-u",
34 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
35 "--json-output",
36 "/path/to/tmp/json",
37 "copy",
38 "data",
39 "[START_DIR]/something"
40 ],
41 "infra_step": true,
42 "name": "write something"
43 },
44 {
45 "cmd": [
46 "python",
47 "-u",
48 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
49 "--json-output",
50 "/path/to/tmp/json",
51 "copy",
52 "data",
53 "[START_DIR]/file"
54 ],
55 "infra_step": true,
56 "name": "write file"
57 },
58 {
59 "cmd": [
60 "python",
61 "-u",
62 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
63 "--json-output",
64 "/path/to/tmp/json",
65 "glob",
66 "[START_DIR]",
67 "*.pat"
68 ],
69 "infra_step": true,
70 "name": "pat",
71 "stdout": "/path/to/tmp/",
72 "~followup_annotations": [
73 "@@@STEP_LOG_LINE@glob@[START_DIR]/other.pat@@@",
74 "@@@STEP_LOG_LINE@glob@[START_DIR]/thing.pat@@@",
75 "@@@STEP_LOG_END@glob@@@"
76 ]
77 },
78 {
79 "cmd": [
80 "python",
81 "-u",
82 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
83 "--json-output",
84 "/path/to/tmp/json",
85 "glob",
86 "[START_DIR]",
87 "*.nop"
88 ],
89 "infra_step": true,
90 "name": "noop",
91 "stdout": "/path/to/tmp/",
92 "~followup_annotations": [
93 "@@@STEP_LOG_END@glob@@@"
94 ]
95 },
96 {
97 "cmd": [
98 "python",
99 "-u",
100 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
101 "--json-output",
102 "/path/to/tmp/json",
103 "glob",
104 "[START_DIR]",
105 "*thing*"
106 ],
107 "infra_step": true,
108 "name": "thing",
109 "stdout": "/path/to/tmp/",
110 "~followup_annotations": [
111 "@@@STEP_LOG_LINE@glob@[START_DIR]/something@@@",
112 "@@@STEP_LOG_LINE@glob@[START_DIR]/thing.pat@@@",
113 "@@@STEP_LOG_END@glob@@@"
114 ]
115 },
116 {
117 "name": "$result",
118 "recipe_result": null,
119 "status_code": 0
120 }
121 ]
OLDNEW
« no previous file with comments | « recipe_modules/file/examples/glob.py ('k') | recipe_modules/file/resources/fileutil.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698