diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-09-23 22:00:28 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-09-23 22:00:28 +0000 |
commit | 76173b3bb145469b830b388a15107d500c9e819b (patch) | |
tree | 2b1cbdb329c769eb4fbe8707d1b8810fb583a429 /src | |
parent | 2034f4a4ecc6f65ee84db9bff75e181e79e4a744 (diff) | |
download | gnunet-76173b3bb145469b830b388a15107d500c9e819b.tar.gz gnunet-76173b3bb145469b830b388a15107d500c9e819b.zip |
-run tests during 'make check'
Diffstat (limited to 'src')
-rw-r--r-- | src/gns/Makefile.am | 236 |
1 files changed, 8 insertions, 228 deletions
diff --git a/src/gns/Makefile.am b/src/gns/Makefile.am index 97b2fd57a..d55124925 100644 --- a/src/gns/Makefile.am +++ b/src/gns/Makefile.am | |||
@@ -14,7 +14,8 @@ EXTRA_DIST = \ | |||
14 | gnunet-gns-proxy-setup-ca \ | 14 | gnunet-gns-proxy-setup-ca \ |
15 | zonefiles/J7POEUT41A8PBFS7KVVDRF88GBOU4HK8PSU5QKVLVE3R9T91E99G.zkey \ | 15 | zonefiles/J7POEUT41A8PBFS7KVVDRF88GBOU4HK8PSU5QKVLVE3R9T91E99G.zkey \ |
16 | zonefiles/OEFL7A4VEF1B40QLEMTG5D8G1CN6EN16QUSG5R2DT71GRJN34LSG.zkey \ | 16 | zonefiles/OEFL7A4VEF1B40QLEMTG5D8G1CN6EN16QUSG5R2DT71GRJN34LSG.zkey \ |
17 | zonefiles/test_zonekey | 17 | zonefiles/test_zonekey \ |
18 | $(check_SCRIPTS) | ||
18 | 19 | ||
19 | if MINGW | 20 | if MINGW |
20 | WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols | 21 | WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols |
@@ -193,236 +194,15 @@ libgnunet_plugin_block_gns_la_DEPENDENCIES = \ | |||
193 | $(top_builddir)/src/block/libgnunetblock.la \ | 194 | $(top_builddir)/src/block/libgnunetblock.la \ |
194 | $(top_builddir)/src/namestore/libgnunetnamestore.la | 195 | $(top_builddir)/src/namestore/libgnunetnamestore.la |
195 | 196 | ||
196 | if HAVE_TESTING | 197 | |
197 | #check_PROGRAMS = | 198 | check_SCRIPTS = \ |
198 | # test_gns_simple_shorten | 199 | test_gns_delegated_lookup.sh \ |
199 | # test_gns_simple_lookup | 200 | test_gns_lookup.sh \ |
200 | # test_gns_simple_delegated_lookup | 201 | test_gnunet_gns.sh |
201 | # test_gns_simple_mx_lookup | ||
202 | # test_gns_simple_srv_lookup | ||
203 | # test_gns_simple_zkey_lookup | ||
204 | # test_gns_dht_delegated_lookup | ||
205 | # test_gns_pseu_shorten | ||
206 | # test_gns_max_queries | ||
207 | # test_gns_cname_lookup | ||
208 | # test_gns_ns_lookup | ||
209 | # test_gns_revocation | ||
210 | # test_gns_dht_three_peers | ||
211 | # test_gns_proxy | ||
212 | endif | ||
213 | 202 | ||
214 | if ENABLE_TEST_RUN | 203 | if ENABLE_TEST_RUN |
215 | if LINUX | ||
216 | if HAVE_SQLITE | 204 | if HAVE_SQLITE |
217 | # TESTS = $(check_PROGRAMS) | 205 | TESTS = $(check_SCRIPTS) |
218 | endif | ||
219 | endif | 206 | endif |
220 | endif | 207 | endif |
221 | 208 | ||
222 | |||
223 | #test_gns_proxy_SOURCES = \ | ||
224 | # test_gns_proxy.c | ||
225 | #test_gns_proxy_LDADD = -lmicrohttpd @LIBCURL@ \ | ||
226 | # $(top_builddir)/src/util/libgnunetutil.la \ | ||
227 | # $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
228 | # $(top_builddir)/src/gns/libgnunetgns.la \ | ||
229 | # $(top_builddir)/src/testing/libgnunettesting.la | ||
230 | #test_gns_proxy_DEPENDENCIES = \ | ||
231 | # $(top_builddir)/src/util/libgnunetutil.la \ | ||
232 | # $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
233 | # libgnunetgns.la \ | ||
234 | # $(top_builddir)/src/testing/libgnunettesting.la | ||
235 | |||
236 | test_gns_dht_three_peers_SOURCES = \ | ||
237 | test_gns_dht_three_peers.c | ||
238 | test_gns_dht_three_peers_LDADD = \ | ||
239 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
240 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
241 | $(top_builddir)/src/gns/libgnunetgns.la \ | ||
242 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
243 | $(top_builddir)/src/testbed/libgnunettestbed.la | ||
244 | test_gns_dht_three_peers_DEPENDENCIES = \ | ||
245 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
246 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
247 | libgnunetgns.la \ | ||
248 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
249 | $(top_builddir)/src/testbed/libgnunettestbed.la | ||
250 | |||
251 | test_gns_simple_lookup_SOURCES = \ | ||
252 | test_gns_simple_lookup.c | ||
253 | test_gns_simple_lookup_LDADD = \ | ||
254 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
255 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
256 | $(top_builddir)/src/gns/libgnunetgns.la \ | ||
257 | $(top_builddir)/src/testing/libgnunettesting.la | ||
258 | test_gns_simple_lookup_DEPENDENCIES = \ | ||
259 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
260 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
261 | libgnunetgns.la \ | ||
262 | $(top_builddir)/src/testing/libgnunettesting.la | ||
263 | |||
264 | test_gns_simple_delegated_lookup_SOURCES = \ | ||
265 | test_gns_simple_delegated_lookup.c | ||
266 | test_gns_simple_delegated_lookup_LDADD = \ | ||
267 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
268 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
269 | $(top_builddir)/src/gns/libgnunetgns.la \ | ||
270 | $(top_builddir)/src/testing/libgnunettesting.la | ||
271 | test_gns_simple_delegated_lookup_DEPENDENCIES = \ | ||
272 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
273 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
274 | libgnunetgns.la \ | ||
275 | $(top_builddir)/src/testing/libgnunettesting.la | ||
276 | |||
277 | test_gns_simple_mx_lookup_SOURCES = \ | ||
278 | test_gns_simple_mx_lookup.c | ||
279 | test_gns_simple_mx_lookup_LDADD = \ | ||
280 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
281 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
282 | $(top_builddir)/src/gns/libgnunetgns.la \ | ||
283 | $(top_builddir)/src/testing/libgnunettesting.la | ||
284 | test_gns_simple_mx_lookup_DEPENDENCIES = \ | ||
285 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
286 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
287 | libgnunetgns.la \ | ||
288 | $(top_builddir)/src/testing/libgnunettesting.la | ||
289 | |||
290 | test_gns_simple_srv_lookup_SOURCES = \ | ||
291 | test_gns_simple_srv_lookup.c | ||
292 | test_gns_simple_srv_lookup_LDADD = \ | ||
293 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
294 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
295 | $(top_builddir)/src/gns/libgnunetgns.la \ | ||
296 | $(top_builddir)/src/testing/libgnunettesting.la | ||
297 | test_gns_simple_srv_lookup_DEPENDENCIES = \ | ||
298 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
299 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
300 | libgnunetgns.la \ | ||
301 | $(top_builddir)/src/testing/libgnunettesting.la | ||
302 | |||
303 | test_gns_simple_zkey_lookup_SOURCES = \ | ||
304 | test_gns_simple_zkey_lookup.c | ||
305 | test_gns_simple_zkey_lookup_LDADD = \ | ||
306 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
307 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
308 | $(top_builddir)/src/gns/libgnunetgns.la \ | ||
309 | $(top_builddir)/src/testing/libgnunettesting.la | ||
310 | test_gns_simple_zkey_lookup_DEPENDENCIES = \ | ||
311 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
312 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
313 | libgnunetgns.la \ | ||
314 | $(top_builddir)/src/testing/libgnunettesting.la | ||
315 | |||
316 | test_gns_dht_delegated_lookup_SOURCES = \ | ||
317 | test_gns_dht_delegated_lookup.c | ||
318 | test_gns_dht_delegated_lookup_LDADD = \ | ||
319 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
320 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
321 | $(top_builddir)/src/dht/libgnunetdht.la \ | ||
322 | $(top_builddir)/src/gns/libgnunetgns.la \ | ||
323 | $(top_builddir)/src/testing/libgnunettesting.la | ||
324 | test_gns_dht_delegated_lookup_DEPENDENCIES = \ | ||
325 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
326 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
327 | $(top_builddir)/src/dht/libgnunetdht.la \ | ||
328 | libgnunetgns.la \ | ||
329 | $(top_builddir)/src/testing/libgnunettesting.la | ||
330 | |||
331 | test_gns_simple_shorten_SOURCES = \ | ||
332 | test_gns_simple_shorten.c | ||
333 | test_gns_simple_shorten_LDADD = \ | ||
334 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
335 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
336 | $(top_builddir)/src/gns/libgnunetgns.la \ | ||
337 | $(top_builddir)/src/testing/libgnunettesting.la | ||
338 | test_gns_simple_shorten_DEPENDENCIES = \ | ||
339 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
340 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
341 | libgnunetgns.la \ | ||
342 | $(top_builddir)/src/testing/libgnunettesting.la | ||
343 | |||
344 | |||
345 | test_gns_pseu_shorten_SOURCES = \ | ||
346 | test_gns_pseu_shorten.c | ||
347 | test_gns_pseu_shorten_LDADD = \ | ||
348 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
349 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
350 | $(top_builddir)/src/dht/libgnunetdht.la \ | ||
351 | $(top_builddir)/src/gns/libgnunetgns.la \ | ||
352 | $(top_builddir)/src/testing/libgnunettesting.la | ||
353 | test_gns_pseu_shorten_DEPENDENCIES = \ | ||
354 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
355 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
356 | $(top_builddir)/src/dht/libgnunetdht.la \ | ||
357 | libgnunetgns.la \ | ||
358 | $(top_builddir)/src/testing/libgnunettesting.la | ||
359 | |||
360 | |||
361 | test_gns_max_queries_SOURCES = \ | ||
362 | test_gns_max_queries.c | ||
363 | test_gns_max_queries_LDADD = \ | ||
364 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
365 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
366 | $(top_builddir)/src/gns/libgnunetgns.la \ | ||
367 | $(top_builddir)/src/testing/libgnunettesting.la | ||
368 | test_gns_max_queries_DEPENDENCIES = \ | ||
369 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
370 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
371 | libgnunetgns.la \ | ||
372 | $(top_builddir)/src/testing/libgnunettesting.la | ||
373 | |||
374 | test_gns_cname_lookup_SOURCES = \ | ||
375 | test_gns_cname_lookup.c | ||
376 | test_gns_cname_lookup_LDADD = \ | ||
377 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
378 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
379 | $(top_builddir)/src/gns/libgnunetgns.la \ | ||
380 | $(top_builddir)/src/testing/libgnunettesting.la | ||
381 | test_gns_cname_lookup_DEPENDENCIES = \ | ||
382 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
383 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
384 | libgnunetgns.la \ | ||
385 | $(top_builddir)/src/testing/libgnunettesting.la | ||
386 | |||
387 | |||
388 | test_gns_ns_lookup_SOURCES = \ | ||
389 | test_gns_ns_lookup.c | ||
390 | test_gns_ns_lookup_LDADD = \ | ||
391 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
392 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
393 | $(top_builddir)/src/gns/libgnunetgns.la \ | ||
394 | $(top_builddir)/src/testing/libgnunettesting.la | ||
395 | test_gns_ns_lookup_DEPENDENCIES = \ | ||
396 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
397 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
398 | libgnunetgns.la \ | ||
399 | $(top_builddir)/src/testing/libgnunettesting.la | ||
400 | |||
401 | |||
402 | test_gns_revocation_SOURCES = \ | ||
403 | test_gns_revocation.c | ||
404 | test_gns_revocation_LDADD = \ | ||
405 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
406 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
407 | $(top_builddir)/src/gns/libgnunetgns.la \ | ||
408 | $(top_builddir)/src/testing/libgnunettesting.la | ||
409 | test_gns_revocation_DEPENDENCIES = \ | ||
410 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
411 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
412 | libgnunetgns.la \ | ||
413 | $(top_builddir)/src/testing/libgnunettesting.la | ||
414 | |||
415 | |||
416 | |||
417 | #Build stub api | ||
418 | #libgnunetnamestore_la_SOURCES = \ | ||
419 | # namestore_stub_api.c | ||
420 | #libgnunetnamestore_la_LIBADD = \ | ||
421 | # $(top_builddir)/src/util/libgnunetutil.la $(XLIB) | ||
422 | #libgnunetnamestore_la_LDFLAGS = \ | ||
423 | # $(GN_LIB_LDFLAGS) | ||
424 | #libgnunetnamestore_la_DEPENDENCIES = \ | ||
425 | # $(top_builddir)/src/util/libgnunetutil.la | ||
426 | |||
427 | |||
428 | |||