]>
Commit | Line | Data |
---|---|---|
1b233b95 BP |
1 | EXTRA_DIST += \ |
2 | $(TESTSUITE_AT) \ | |
3 | $(TESTSUITE) \ | |
4 | tests/atlocal.in \ | |
5 | $(srcdir)/package.m4 \ | |
6 | $(srcdir)/tests/testsuite | |
7 | TESTSUITE_AT = \ | |
8 | tests/testsuite.at \ | |
24c8ae53 | 9 | tests/ovsdb-macros.at \ |
1b233b95 | 10 | tests/library.at \ |
95974447 | 11 | tests/heap.at \ |
daff3353 | 12 | tests/bundle.at \ |
3223e977 | 13 | tests/classifier.at \ |
05b3c97b | 14 | tests/check-structs.at \ |
ff8decf1 | 15 | tests/daemon.at \ |
99155935 | 16 | tests/daemon-py.at \ |
f25d0cf3 | 17 | tests/ofp-actions.at \ |
fec00620 | 18 | tests/ofp-print.at \ |
681ea7a0 | 19 | tests/ofp-util.at \ |
2e0525bc | 20 | tests/ofp-errors.at \ |
0e581146 | 21 | tests/ovs-ofctl.at \ |
3bffc610 | 22 | tests/odp.at \ |
53ddd40a | 23 | tests/multipath.at \ |
742468d9 | 24 | tests/lacp.at \ |
75a75043 | 25 | tests/learn.at \ |
d27ce529 | 26 | tests/vconn.at \ |
e1aff6f9 | 27 | tests/file_name.at \ |
d918d9d1 | 28 | tests/aes128.at \ |
0a68ffd2 | 29 | tests/unixctl-py.at \ |
d918d9d1 | 30 | tests/uuid.at \ |
f38b84ea | 31 | tests/json.at \ |
f2129093 | 32 | tests/jsonrpc.at \ |
99155935 | 33 | tests/jsonrpc-py.at \ |
e7cfedd6 | 34 | tests/timeval.at \ |
0f538378 | 35 | tests/tunnel.at \ |
ac718c9d | 36 | tests/lockfile.at \ |
3ed497fc | 37 | tests/reconnect.at \ |
b7898031 | 38 | tests/ovs-vswitchd.at \ |
29901626 | 39 | tests/ofproto-dpif.at \ |
1c3e353d | 40 | tests/vlan-splinters.at \ |
0fbc9f11 | 41 | tests/ofproto-macros.at \ |
a2cb9dfd | 42 | tests/ofproto.at \ |
f85f8ebb | 43 | tests/ovsdb.at \ |
41709ccc | 44 | tests/ovsdb-log.at \ |
f85f8ebb BP |
45 | tests/ovsdb-types.at \ |
46 | tests/ovsdb-data.at \ | |
47 | tests/ovsdb-column.at \ | |
48 | tests/ovsdb-table.at \ | |
49 | tests/ovsdb-row.at \ | |
0d0f05b9 | 50 | tests/ovsdb-schema.at \ |
f85f8ebb | 51 | tests/ovsdb-condition.at \ |
e9f8f936 | 52 | tests/ovsdb-mutation.at \ |
f85f8ebb BP |
53 | tests/ovsdb-query.at \ |
54 | tests/ovsdb-transaction.at \ | |
55 | tests/ovsdb-execution.at \ | |
56 | tests/ovsdb-trigger.at \ | |
1e19e50e | 57 | tests/ovsdb-tool.at \ |
21ff1aee | 58 | tests/ovsdb-server.at \ |
a8425c53 | 59 | tests/ovsdb-monitor.at \ |
c3bb4bd7 | 60 | tests/ovsdb-idl.at \ |
48d014bf | 61 | tests/ovs-vsctl.at \ |
b54bdbe9 | 62 | tests/ovs-monitor-ipsec.at \ |
1b0fdca5 | 63 | tests/ovs-xapi-sync.at \ |
829a7d02 | 64 | tests/stp.at \ |
8ed182d8 EJ |
65 | tests/interface-reconfigure.at \ |
66 | tests/vlog.at | |
1b233b95 | 67 | TESTSUITE = $(srcdir)/tests/testsuite |
7fe079c2 | 68 | DISTCLEANFILES += tests/atconfig tests/atlocal |
1b233b95 | 69 | |
7c126fbb BP |
70 | AUTOTEST_PATH = utilities:vswitchd:ovsdb:tests |
71 | ||
1b233b95 | 72 | check-local: tests/atconfig tests/atlocal $(TESTSUITE) |
7c126fbb BP |
73 | $(SHELL) '$(TESTSUITE)' -C tests AUTOTEST_PATH=$(AUTOTEST_PATH) $(TESTSUITEFLAGS) |
74 | \f | |
79982e90 EJ |
75 | # Python Coverage support. |
76 | # Requires coverage.py http://nedbatchelder.com/code/coverage/. | |
77 | ||
78 | COVERAGE = coverage | |
79 | COVERAGE_FILE='$(abs_srcdir)/.coverage' | |
80 | check-pycov: all tests/atconfig tests/atlocal $(TESTSUITE) clean-pycov | |
853d1083 | 81 | PYTHONDONTWRITEBYTECODE=yes COVERAGE_FILE=$(COVERAGE_FILE) PYTHON='$(COVERAGE) run -p' $(SHELL) '$(TESTSUITE)' -C tests AUTOTEST_PATH=$(AUTOTEST_PATH) $(TESTSUITEFLAGS) |
79982e90 EJ |
82 | @cd $(srcdir) && $(COVERAGE) combine && COVERAGE_FILE=$(COVERAGE_FILE) $(COVERAGE) annotate |
83 | @echo | |
84 | @echo '----------------------------------------------------------------------' | |
85 | @echo 'Annotated coverage source has the ",cover" extension.' | |
86 | @echo '----------------------------------------------------------------------' | |
87 | @echo | |
88 | @COVERAGE_FILE=$(COVERAGE_FILE) $(COVERAGE) report | |
89 | \f | |
b6fa4447 BP |
90 | # valgrind support |
91 | ||
92 | valgrind_wrappers = \ | |
93 | tests/valgrind/ovs-appctl \ | |
9f19a2a3 | 94 | tests/valgrind/ovs-ofctl \ |
b6fa4447 | 95 | tests/valgrind/ovs-vsctl \ |
b0f7b9b5 | 96 | tests/valgrind/ovs-vswitchd \ |
b6fa4447 BP |
97 | tests/valgrind/ovsdb-client \ |
98 | tests/valgrind/ovsdb-server \ | |
99 | tests/valgrind/ovsdb-tool \ | |
100 | tests/valgrind/test-aes128 \ | |
daff3353 | 101 | tests/valgrind/test-bundle \ |
10a24935 | 102 | tests/valgrind/test-byte-order \ |
b6fa4447 BP |
103 | tests/valgrind/test-classifier \ |
104 | tests/valgrind/test-csum \ | |
e1aff6f9 | 105 | tests/valgrind/test-file_name \ |
b6fa4447 BP |
106 | tests/valgrind/test-flows \ |
107 | tests/valgrind/test-hash \ | |
95974447 | 108 | tests/valgrind/test-heap \ |
822b7f52 | 109 | tests/valgrind/test-hindex \ |
b6fa4447 BP |
110 | tests/valgrind/test-hmap \ |
111 | tests/valgrind/test-json \ | |
112 | tests/valgrind/test-jsonrpc \ | |
113 | tests/valgrind/test-list \ | |
114 | tests/valgrind/test-lockfile \ | |
53ddd40a | 115 | tests/valgrind/test-multipath \ |
3bffc610 | 116 | tests/valgrind/test-odp \ |
b6fa4447 | 117 | tests/valgrind/test-ovsdb \ |
f696f12f | 118 | tests/valgrind/test-packets \ |
78f3f316 | 119 | tests/valgrind/test-random \ |
b6fa4447 BP |
120 | tests/valgrind/test-reconnect \ |
121 | tests/valgrind/test-sha1 \ | |
829a7d02 | 122 | tests/valgrind/test-stp \ |
b6fa4447 BP |
123 | tests/valgrind/test-timeval \ |
124 | tests/valgrind/test-type-props \ | |
6e170b4c | 125 | tests/valgrind/test-unix-socket \ |
b6fa4447 | 126 | tests/valgrind/test-uuid \ |
10a24935 | 127 | tests/valgrind/test-vconn |
b6fa4447 BP |
128 | |
129 | $(valgrind_wrappers): tests/valgrind-wrapper.in | |
130 | @test -d tests/valgrind || mkdir tests/valgrind | |
131 | sed -e 's,[@]wrap_program[@],$@,' \ | |
132 | $(top_srcdir)/tests/valgrind-wrapper.in > $@.tmp | |
133 | chmod +x $@.tmp | |
134 | mv $@.tmp $@ | |
135 | CLEANFILES += $(valgrind_wrappers) | |
136 | EXTRA_DIST += tests/valgrind-wrapper.in | |
137 | ||
138 | VALGRIND = valgrind --log-file=valgrind.%p --leak-check=full \ | |
75b87ae5 | 139 | --suppressions=$(abs_top_srcdir)/tests/glibc.supp \ |
b6fa4447 | 140 | --suppressions=$(abs_top_srcdir)/tests/openssl.supp --num-callers=20 |
75b87ae5 | 141 | EXTRA_DIST += tests/glibc.supp tests/openssl.supp |
16496eea BP |
142 | check-valgrind: all tests/atconfig tests/atlocal $(TESTSUITE) \ |
143 | $(valgrind_wrappers) $(check_DATA) | |
b6fa4447 BP |
144 | $(SHELL) '$(TESTSUITE)' -C tests CHECK_VALGRIND=true VALGRIND='$(VALGRIND)' AUTOTEST_PATH='tests/valgrind:$(AUTOTEST_PATH)' -d $(TESTSUITEFLAGS) |
145 | @echo | |
146 | @echo '----------------------------------------------------------------------' | |
147 | @echo 'Valgrind output can be found in tests/testsuite.dir/*/valgrind.*' | |
148 | @echo '----------------------------------------------------------------------' | |
149 | \f | |
81a114e5 BP |
150 | # OFTest support. |
151 | ||
152 | check-oftest: all | |
153 | srcdir='$(srcdir)' $(SHELL) $(srcdir)/tests/run-oftest | |
154 | EXTRA_DIST += tests/run-oftest | |
155 | \f | |
1b233b95 BP |
156 | clean-local: |
157 | test ! -f '$(TESTSUITE)' || $(SHELL) '$(TESTSUITE)' -C tests --clean | |
158 | ||
1b233b95 BP |
159 | AUTOTEST = $(AUTOM4TE) --language=autotest |
160 | $(TESTSUITE): package.m4 $(TESTSUITE_AT) | |
161 | $(AUTOTEST) -I '$(srcdir)' -o $@.tmp $@.at | |
162 | mv $@.tmp $@ | |
163 | ||
164 | # The `:;' works around a Bash 3.2 bug when the output is not writeable. | |
165 | $(srcdir)/package.m4: $(top_srcdir)/configure.ac | |
166 | :;{ \ | |
167 | echo '# Signature of the current package.' && \ | |
f99cd6ee BP |
168 | echo 'm4_define([AT_PACKAGE_NAME], [$(PACKAGE_NAME)])' && \ |
169 | echo 'm4_define([AT_PACKAGE_TARNAME], [$(PACKAGE_TARNAME)])' && \ | |
170 | echo 'm4_define([AT_PACKAGE_VERSION], [$(PACKAGE_VERSION)])' && \ | |
171 | echo 'm4_define([AT_PACKAGE_STRING], [$(PACKAGE_STRING)])' && \ | |
172 | echo 'm4_define([AT_PACKAGE_BUGREPORT], [$(PACKAGE_BUGREPORT)])'; \ | |
1b233b95 BP |
173 | } >'$(srcdir)/package.m4' |
174 | ||
d918d9d1 BP |
175 | noinst_PROGRAMS += tests/test-aes128 |
176 | tests_test_aes128_SOURCES = tests/test-aes128.c | |
bde9f75d | 177 | tests_test_aes128_LDADD = lib/libopenvswitch.a $(SSL_LIBS) |
d918d9d1 | 178 | |
daff3353 EJ |
179 | noinst_PROGRAMS += tests/test-bundle |
180 | tests_test_bundle_SOURCES = tests/test-bundle.c | |
bde9f75d | 181 | tests_test_bundle_LDADD = lib/libopenvswitch.a $(SSL_LIBS) |
daff3353 | 182 | |
064af421 BP |
183 | noinst_PROGRAMS += tests/test-classifier |
184 | tests_test_classifier_SOURCES = tests/test-classifier.c | |
bde9f75d | 185 | tests_test_classifier_LDADD = lib/libopenvswitch.a $(SSL_LIBS) |
064af421 | 186 | |
21effc03 BP |
187 | noinst_PROGRAMS += tests/test-csum |
188 | tests_test_csum_SOURCES = tests/test-csum.c | |
bde9f75d | 189 | tests_test_csum_LDADD = lib/libopenvswitch.a $(SSL_LIBS) |
21effc03 | 190 | |
e1aff6f9 BP |
191 | noinst_PROGRAMS += tests/test-file_name |
192 | tests_test_file_name_SOURCES = tests/test-file_name.c | |
bde9f75d | 193 | tests_test_file_name_LDADD = lib/libopenvswitch.a $(SSL_LIBS) |
29d4af60 | 194 | |
064af421 BP |
195 | noinst_PROGRAMS += tests/test-flows |
196 | tests_test_flows_SOURCES = tests/test-flows.c | |
bde9f75d | 197 | tests_test_flows_LDADD = lib/libopenvswitch.a $(SSL_LIBS) |
1b233b95 | 198 | dist_check_SCRIPTS = tests/flowgen.pl |
064af421 | 199 | |
064af421 BP |
200 | noinst_PROGRAMS += tests/test-hash |
201 | tests_test_hash_SOURCES = tests/test-hash.c | |
202 | tests_test_hash_LDADD = lib/libopenvswitch.a | |
203 | ||
95974447 BP |
204 | noinst_PROGRAMS += tests/test-heap |
205 | tests_test_heap_SOURCES = tests/test-heap.c | |
bde9f75d | 206 | tests_test_heap_LDADD = lib/libopenvswitch.a $(SSL_LIBS) |
95974447 | 207 | |
822b7f52 BP |
208 | noinst_PROGRAMS += tests/test-hindex |
209 | tests_test_hindex_SOURCES = tests/test-hindex.c | |
210 | tests_test_hindex_LDADD = lib/libopenvswitch.a $(SSL_LIBS) | |
211 | ||
064af421 BP |
212 | noinst_PROGRAMS += tests/test-hmap |
213 | tests_test_hmap_SOURCES = tests/test-hmap.c | |
bde9f75d | 214 | tests_test_hmap_LDADD = lib/libopenvswitch.a $(SSL_LIBS) |
064af421 | 215 | |
f38b84ea BP |
216 | noinst_PROGRAMS += tests/test-json |
217 | tests_test_json_SOURCES = tests/test-json.c | |
bde9f75d | 218 | tests_test_json_LDADD = lib/libopenvswitch.a $(SSL_LIBS) |
f38b84ea | 219 | |
f2129093 BP |
220 | noinst_PROGRAMS += tests/test-jsonrpc |
221 | tests_test_jsonrpc_SOURCES = tests/test-jsonrpc.c | |
9467fe62 | 222 | tests_test_jsonrpc_LDADD = lib/libopenvswitch.a $(SSL_LIBS) |
f2129093 | 223 | |
064af421 BP |
224 | noinst_PROGRAMS += tests/test-list |
225 | tests_test_list_SOURCES = tests/test-list.c | |
cb22974d | 226 | tests_test_list_LDADD = lib/libopenvswitch.a $(SSL_LIBS) |
064af421 | 227 | |
ac718c9d BP |
228 | noinst_PROGRAMS += tests/test-lockfile |
229 | tests_test_lockfile_SOURCES = tests/test-lockfile.c | |
bde9f75d | 230 | tests_test_lockfile_LDADD = lib/libopenvswitch.a $(SSL_LIBS) |
ac718c9d | 231 | |
53ddd40a BP |
232 | noinst_PROGRAMS += tests/test-multipath |
233 | tests_test_multipath_SOURCES = tests/test-multipath.c | |
bde9f75d | 234 | tests_test_multipath_LDADD = lib/libopenvswitch.a $(SSL_LIBS) |
53ddd40a | 235 | |
f696f12f JP |
236 | noinst_PROGRAMS += tests/test-packets |
237 | tests_test_packets_SOURCES = tests/test-packets.c | |
bde9f75d | 238 | tests_test_packets_LDADD = lib/libopenvswitch.a $(SSL_LIBS) |
f696f12f | 239 | |
78f3f316 BP |
240 | noinst_PROGRAMS += tests/test-random |
241 | tests_test_random_SOURCES = tests/test-random.c | |
bde9f75d | 242 | tests_test_random_LDADD = lib/libopenvswitch.a $(SSL_LIBS) |
78f3f316 | 243 | |
829a7d02 JP |
244 | noinst_PROGRAMS += tests/test-stp |
245 | tests_test_stp_SOURCES = tests/test-stp.c | |
bde9f75d | 246 | tests_test_stp_LDADD = lib/libopenvswitch.a $(SSL_LIBS) |
829a7d02 | 247 | |
8073dd31 NM |
248 | noinst_PROGRAMS += tests/test-sflow |
249 | tests_test_sflow_SOURCES = tests/test-sflow.c | |
250 | tests_test_sflow_LDADD = lib/libopenvswitch.a $(SSL_LIBS) | |
251 | ||
17f7f7e0 BP |
252 | noinst_PROGRAMS += tests/test-netflow |
253 | tests_test_netflow_SOURCES = tests/test-netflow.c | |
bde9f75d | 254 | tests_test_netflow_LDADD = lib/libopenvswitch.a $(SSL_LIBS) |
17f7f7e0 | 255 | |
6e170b4c BP |
256 | noinst_PROGRAMS += tests/test-unix-socket |
257 | tests_test_unix_socket_SOURCES = tests/test-unix-socket.c | |
bde9f75d | 258 | tests_test_unix_socket_LDADD = lib/libopenvswitch.a $(SSL_LIBS) |
6e170b4c | 259 | |
3bffc610 BP |
260 | noinst_PROGRAMS += tests/test-odp |
261 | tests_test_odp_SOURCES = tests/test-odp.c | |
bde9f75d | 262 | tests_test_odp_LDADD = lib/libopenvswitch.a $(SSL_LIBS) |
3bffc610 | 263 | |
f85f8ebb | 264 | noinst_PROGRAMS += tests/test-ovsdb |
00732bf5 BP |
265 | tests_test_ovsdb_SOURCES = \ |
266 | tests/test-ovsdb.c \ | |
267 | tests/idltest.c \ | |
268 | tests/idltest.h | |
7360012b | 269 | EXTRA_DIST += tests/uuidfilt.pl tests/ovsdb-monitor-sort.pl |
a26cc67c | 270 | tests_test_ovsdb_LDADD = ovsdb/libovsdb.a lib/libopenvswitch.a $(SSL_LIBS) |
00732bf5 BP |
271 | |
272 | # idltest schema and IDL | |
2c84fdf2 | 273 | OVSIDL_BUILT += tests/idltest.c tests/idltest.h tests/idltest.ovsidl |
00732bf5 BP |
274 | IDLTEST_IDL_FILES = tests/idltest.ovsschema tests/idltest.ann |
275 | EXTRA_DIST += $(IDLTEST_IDL_FILES) | |
276 | tests/idltest.ovsidl: $(IDLTEST_IDL_FILES) | |
277 | $(OVSDB_IDLC) -C $(srcdir) annotate $(IDLTEST_IDL_FILES) > $@.tmp | |
278 | mv $@.tmp $@ | |
279 | ||
b0fc010a | 280 | tests/idltest.c: tests/idltest.h |
f85f8ebb | 281 | |
3ed497fc BP |
282 | noinst_PROGRAMS += tests/test-reconnect |
283 | tests_test_reconnect_SOURCES = tests/test-reconnect.c | |
bde9f75d | 284 | tests_test_reconnect_LDADD = lib/libopenvswitch.a $(SSL_LIBS) |
3ed497fc | 285 | |
d138cd2c BP |
286 | noinst_PROGRAMS += tests/test-sha1 |
287 | tests_test_sha1_SOURCES = tests/test-sha1.c | |
bde9f75d | 288 | tests_test_sha1_LDADD = lib/libopenvswitch.a $(SSL_LIBS) |
d138cd2c | 289 | |
e7cfedd6 BP |
290 | noinst_PROGRAMS += tests/test-timeval |
291 | tests_test_timeval_SOURCES = tests/test-timeval.c | |
bde9f75d | 292 | tests_test_timeval_LDADD = lib/libopenvswitch.a $(SSL_LIBS) |
e7cfedd6 | 293 | |
78f172aa BP |
294 | noinst_PROGRAMS += tests/test-strtok_r |
295 | tests_test_strtok_r_SOURCES = tests/test-strtok_r.c | |
296 | ||
064af421 BP |
297 | noinst_PROGRAMS += tests/test-type-props |
298 | tests_test_type_props_SOURCES = tests/test-type-props.c | |
299 | ||
711e0157 BP |
300 | noinst_PROGRAMS += tests/test-util |
301 | tests_test_util_SOURCES = tests/test-util.c | |
bde9f75d | 302 | tests_test_util_LDADD = lib/libopenvswitch.a $(SSL_LIBS) |
711e0157 | 303 | |
d918d9d1 BP |
304 | noinst_PROGRAMS += tests/test-uuid |
305 | tests_test_uuid_SOURCES = tests/test-uuid.c | |
bde9f75d | 306 | tests_test_uuid_LDADD = lib/libopenvswitch.a $(SSL_LIBS) |
d918d9d1 | 307 | |
48d973e3 BP |
308 | noinst_PROGRAMS += tests/test-vconn |
309 | tests_test_vconn_SOURCES = tests/test-vconn.c | |
310 | tests_test_vconn_LDADD = lib/libopenvswitch.a $(SSL_LIBS) | |
99155935 | 311 | |
10a24935 BP |
312 | noinst_PROGRAMS += tests/test-byte-order |
313 | tests_test_byte_order_SOURCES = tests/test-byte-order.c | |
314 | tests_test_byte_order_LDADD = lib/libopenvswitch.a | |
965f03d8 | 315 | |
99155935 | 316 | # Python tests. |
79982e90 | 317 | CHECK_PYFILES = \ |
0a68ffd2 | 318 | tests/appctl.py \ |
99155935 BP |
319 | tests/test-daemon.py \ |
320 | tests/test-json.py \ | |
321 | tests/test-jsonrpc.py \ | |
322 | tests/test-ovsdb.py \ | |
1b0fdca5 | 323 | tests/test-reconnect.py \ |
8ed182d8 | 324 | tests/MockXenAPI.py \ |
cd57233c | 325 | tests/test-unix-socket.py \ |
0a68ffd2 | 326 | tests/test-unixctl.py \ |
8ed182d8 | 327 | tests/test-vlog.py |
79982e90 EJ |
328 | EXTRA_DIST += $(CHECK_PYFILES) |
329 | PYCOV_CLEAN_FILES += $(CHECK_PYFILES:.py=.py,cover) .coverage | |
15b619e2 BP |
330 | |
331 | if HAVE_OPENSSL | |
332 | TESTPKI_FILES = \ | |
333 | tests/testpki-cacert.pem \ | |
334 | tests/testpki-cert.pem \ | |
335 | tests/testpki-privkey.pem \ | |
336 | tests/testpki-req.pem \ | |
337 | tests/testpki-cert2.pem \ | |
338 | tests/testpki-privkey2.pem \ | |
339 | tests/testpki-req2.pem | |
340 | check_DATA += $(TESTPKI_FILES) | |
341 | CLEANFILES += $(TESTPKI_FILES) | |
342 | ||
343 | tests/testpki-cacert.pem: tests/pki/stamp; cp tests/pki/switchca/cacert.pem $@ | |
344 | tests/testpki-cert.pem: tests/pki/stamp; cp tests/pki/test-cert.pem $@ | |
345 | tests/testpki-req.pem: tests/pki/stamp; cp tests/pki/test-req.pem $@ | |
346 | tests/testpki-privkey.pem: tests/pki/stamp; cp tests/pki/test-privkey.pem $@ | |
347 | tests/testpki-cert2.pem: tests/pki/stamp; cp tests/pki/test2-cert.pem $@ | |
348 | tests/testpki-req2.pem: tests/pki/stamp; cp tests/pki/test2-req.pem $@ | |
349 | tests/testpki-privkey2.pem: tests/pki/stamp; cp tests/pki/test2-privkey.pem $@ | |
350 | ||
351 | OVS_PKI = $(SHELL) $(srcdir)/utilities/ovs-pki.in --dir=tests/pki --log=tests/ovs-pki.log | |
352 | tests/pki/stamp: | |
353 | rm -f tests/pki/stamp | |
354 | rm -rf tests/pki | |
355 | $(OVS_PKI) init | |
356 | $(OVS_PKI) req+sign tests/pki/test | |
357 | $(OVS_PKI) req+sign tests/pki/test2 | |
358 | : > tests/pki/stamp | |
359 | CLEANFILES += tests/ovs-pki.log | |
360 | ||
361 | CLEAN_LOCAL += clean-pki | |
362 | clean-pki: | |
363 | rm -f tests/pki/stamp | |
364 | rm -rf tests/pki | |
365 | endif |