File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change @@ -121,6 +121,34 @@ sh_test(
121
121
],
122
122
)
123
123
124
+ # -------------------------------------------------------------------
125
+ # Validation of pddm expansion.
126
+
127
+ py_binary (
128
+ name = "pddm" ,
129
+ srcs = ["DevTools/pddm.py" ],
130
+ )
131
+
132
+ py_test (
133
+ name = "pddm_tests" ,
134
+ size = "small" ,
135
+ srcs = [
136
+ "DevTools/pddm.py" ,
137
+ "DevTools/pddm_tests.py" ,
138
+ ],
139
+ )
140
+
141
+ sh_test (
142
+ name = "sources_pddm_expansion_test" ,
143
+ size = "small" ,
144
+ srcs = ["DevTools/sources_pddm_expansion_test.sh" ],
145
+ data = [":pddm" ] + glob ([
146
+ "**/*.h" ,
147
+ "**/*.m" ,
148
+ "**/*.pddm" ,
149
+ ]),
150
+ )
151
+
124
152
################################################################################
125
153
# Distribution files
126
154
################################################################################
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ ${TEST_SRCDIR} /google3/third_party/protobuf/objectivec/pddm \
4
+ --dry-run \
5
+ ${TEST_SRCDIR} /google3/third_party/protobuf/objectivec/* .[hm] \
6
+ ${TEST_SRCDIR} /google3/third_party/protobuf/objectivec/Tests/* .[hm] \
7
+ || die " Update by running: objectivec/DevTools/pddm.py objectivec/*.[hm] objectivec/Tests/*.[hm]"
8
+
9
+ echo " PASS"
You can’t perform that action at this time.
0 commit comments