diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2011-09-12 09:21:37 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2011-09-12 09:21:37 +0000 |
commit | 6b26c96e92ab48d830e8d66a1238444e7a061740 (patch) | |
tree | 5fbc097479d0145babc40a919b3fc123b07b61d7 /src/transport/Makefile.am | |
parent | 7463a19d560d60138449ced771a5e0ca522c032a (diff) | |
download | gnunet-6b26c96e92ab48d830e8d66a1238444e7a061740.tar.gz gnunet-6b26c96e92ab48d830e8d66a1238444e7a061740.zip |
moving ats tests to ../ats-test
Diffstat (limited to 'src/transport/Makefile.am')
-rw-r--r-- | src/transport/Makefile.am | 48 |
1 files changed, 3 insertions, 45 deletions
diff --git a/src/transport/Makefile.am b/src/transport/Makefile.am index 260704259..0f4f55d29 100644 --- a/src/transport/Makefile.am +++ b/src/transport/Makefile.am | |||
@@ -19,18 +19,6 @@ if HAVE_MHD | |||
19 | test_quota_compliance_https_asymmetric_recv_constant | 19 | test_quota_compliance_https_asymmetric_recv_constant |
20 | endif | 20 | endif |
21 | 21 | ||
22 | if HAVE_LIBGLPK | ||
23 | TRANSPORT_ATS_SRC = gnunet-service-transport_ats.c | ||
24 | TEST_TRANSPORT_ATS = \ | ||
25 | test_transport_ats \ | ||
26 | test_transport_ats_multiple_peers | ||
27 | GN_GLPK = -lglpk | ||
28 | if HAVE_BENCHMARKS | ||
29 | ATS_TRANSPORT_BENCHMARKS = \ | ||
30 | perf_transport_ats | ||
31 | endif | ||
32 | endif | ||
33 | |||
34 | if USE_COVERAGE | 22 | if USE_COVERAGE |
35 | AM_CFLAGS = --coverage -O0 | 23 | AM_CFLAGS = --coverage -O0 |
36 | endif | 24 | endif |
@@ -151,8 +139,9 @@ gnunet_transport_DEPENDENCIES = \ | |||
151 | libgnunettransport.la | 139 | libgnunettransport.la |
152 | 140 | ||
153 | gnunet_service_transport_SOURCES = \ | 141 | gnunet_service_transport_SOURCES = \ |
154 | gnunet-service-transport.c $(TRANSPORT_ATS_SRC) | 142 | gnunet-service-transport.c |
155 | gnunet_service_transport_LDADD = \ | 143 | gnunet_service_transport_LDADD = \ |
144 | $(top_builddir)/src/ats/libgnunetats.la \ | ||
156 | $(top_builddir)/src/hello/libgnunethello.la \ | 145 | $(top_builddir)/src/hello/libgnunethello.la \ |
157 | $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \ | 146 | $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \ |
158 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | 147 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ |
@@ -277,8 +266,6 @@ check_PROGRAMS = \ | |||
277 | test_transport_startonly \ | 266 | test_transport_startonly \ |
278 | test_transport_api_disconnect \ | 267 | test_transport_api_disconnect \ |
279 | test_transport_api_multiaddress_tcp \ | 268 | test_transport_api_multiaddress_tcp \ |
280 | $(TEST_TRANSPORT_ATS) \ | ||
281 | $(ATS_TRANSPORT_BENCHMARKS) \ | ||
282 | test_transport_api_tcp \ | 269 | test_transport_api_tcp \ |
283 | test_transport_api_tcp_nat \ | 270 | test_transport_api_tcp_nat \ |
284 | test_transport_api_udp \ | 271 | test_transport_api_udp \ |
@@ -312,8 +299,6 @@ TESTS = \ | |||
312 | test_transport_startonly \ | 299 | test_transport_startonly \ |
313 | test_transport_api_disconnect \ | 300 | test_transport_api_disconnect \ |
314 | test_transport_api_multiaddress_tcp \ | 301 | test_transport_api_multiaddress_tcp \ |
315 | $(TEST_TRANSPORT_ATS) \ | ||
316 | $(ATS_TRANSPORT_BENCHMARKS) \ | ||
317 | test_transport_api_tcp \ | 302 | test_transport_api_tcp \ |
318 | test_transport_api_tcp_nat \ | 303 | test_transport_api_tcp_nat \ |
319 | test_transport_api_udp \ | 304 | test_transport_api_udp \ |
@@ -375,29 +360,6 @@ test_transport_startonly_LDADD = \ | |||
375 | $(top_builddir)/src/util/libgnunetutil.la \ | 360 | $(top_builddir)/src/util/libgnunetutil.la \ |
376 | $(top_builddir)/src/transport/libgnunettransporttesting.la | 361 | $(top_builddir)/src/transport/libgnunettransporttesting.la |
377 | 362 | ||
378 | test_transport_ats_SOURCES = \ | ||
379 | test_transport_ats.c $(TRANSPORT_ATS_SRC) | ||
380 | test_transport_ats_LDADD = -lm \ | ||
381 | -lglpk \ | ||
382 | $(top_builddir)/src/transport/libgnunettransport.la \ | ||
383 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
384 | $(top_builddir)/src/util/libgnunetutil.la | ||
385 | |||
386 | test_transport_ats_multiple_peers_SOURCES = \ | ||
387 | test_transport_ats_multiple_peers.c $(TRANSPORT_ATS_SRC) | ||
388 | test_transport_ats_multiple_peers_LDADD = -lm \ | ||
389 | -lglpk \ | ||
390 | $(top_builddir)/src/transport/libgnunettransport.la \ | ||
391 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
392 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
393 | $(top_builddir)/src/util/libgnunetutil.la | ||
394 | |||
395 | perf_transport_ats_SOURCES = \ | ||
396 | perf_transport_ats.c | ||
397 | perf_transport_ats_LDADD = \ | ||
398 | -lglpk \ | ||
399 | $(top_builddir)/src/util/libgnunetutil.la | ||
400 | |||
401 | test_transport_api_tcp_SOURCES = \ | 363 | test_transport_api_tcp_SOURCES = \ |
402 | test_transport_api.c | 364 | test_transport_api.c |
403 | test_transport_api_tcp_LDADD = \ | 365 | test_transport_api_tcp_LDADD = \ |
@@ -661,7 +623,6 @@ test_transport_api_multi_LDADD = \ | |||
661 | 623 | ||
662 | EXTRA_DIST = \ | 624 | EXTRA_DIST = \ |
663 | gnunet-transport-certificate-creation \ | 625 | gnunet-transport-certificate-creation \ |
664 | ats_mlp_p100_m400.problem \ | ||
665 | test_transport_defaults.conf \ | 626 | test_transport_defaults.conf \ |
666 | test_transport_api_data.conf \ | 627 | test_transport_api_data.conf \ |
667 | test_transport_api_tcp_peer1.conf \ | 628 | test_transport_api_tcp_peer1.conf \ |
@@ -700,7 +661,4 @@ EXTRA_DIST = \ | |||
700 | test_quota_compliance_udp_peer2.conf \ | 661 | test_quota_compliance_udp_peer2.conf \ |
701 | test_quota_compliance_unix_peer1.conf \ | 662 | test_quota_compliance_unix_peer1.conf \ |
702 | test_quota_compliance_unix_peer2.conf \ | 663 | test_quota_compliance_unix_peer2.conf \ |
703 | test_plugin_transport_data_udp.conf \ | 664 | test_plugin_transport_data_udp.conf \ No newline at end of file |
704 | test_transport_ats_1addr.conf \ | ||
705 | test_transport_ats_2addr.conf \ | ||
706 | test_transport_ats_4addr.conf | ||