diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2011-09-27 14:03:08 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2011-09-27 14:03:08 +0000 |
commit | 870da9ed169132733f2d0cba437ad538f71cf817 (patch) | |
tree | b199c63b4f6cdde3449435a84fb0ac11f5d39a77 /src/transport/Makefile.am | |
parent | 923a5bf28bb709e15fc65786b101b176f8ed4d26 (diff) | |
download | gnunet-870da9ed169132733f2d0cba437ad538f71cf817.tar.gz gnunet-870da9ed169132733f2d0cba437ad538f71cf817.zip |
- renaming test_transport_api_multiaddress to test_transport_api_timeout
- adding new timeout tests for http and https
Diffstat (limited to 'src/transport/Makefile.am')
-rw-r--r-- | src/transport/Makefile.am | 57 |
1 files changed, 29 insertions, 28 deletions
diff --git a/src/transport/Makefile.am b/src/transport/Makefile.am index a421e089a..a76e74804 100644 --- a/src/transport/Makefile.am +++ b/src/transport/Makefile.am | |||
@@ -7,14 +7,14 @@ if HAVE_MHD | |||
7 | if HAVE_EXPERIMENTAL | 7 | if HAVE_EXPERIMENTAL |
8 | GN_LIBMHD = -lmicrohttpd | 8 | GN_LIBMHD = -lmicrohttpd |
9 | HTTP_PLUGIN_LA = libgnunet_plugin_transport_http.la | 9 | HTTP_PLUGIN_LA = libgnunet_plugin_transport_http.la |
10 | # HTTP_PLUGIN_TEST = test_plugin_transport_http | ||
11 | HTTP_API_TEST = test_transport_api_http | 10 | HTTP_API_TEST = test_transport_api_http |
11 | HTTP_API_TIMEOUT_TEST = test_transport_api_timeout_http | ||
12 | HTTP_REL_TEST = test_transport_api_reliability_http | 12 | HTTP_REL_TEST = test_transport_api_reliability_http |
13 | HTTP_QUOTA_TEST = test_quota_compliance_http \ | 13 | HTTP_QUOTA_TEST = test_quota_compliance_http \ |
14 | test_quota_compliance_http_asymmetric_recv_constant | 14 | test_quota_compliance_http_asymmetric_recv_constant |
15 | HTTPS_PLUGIN_LA = libgnunet_plugin_transport_https.la | 15 | HTTPS_PLUGIN_LA = libgnunet_plugin_transport_https.la |
16 | # HTTPS_PLUGIN_TEST = test_plugin_transport_https | ||
17 | HTTPS_API_TEST = test_transport_api_https | 16 | HTTPS_API_TEST = test_transport_api_https |
17 | HTTPS_API_TIMEOUT_TEST = test_transport_api_timeout_https | ||
18 | HTTPS_REL_TEST = test_transport_api_reliability_https | 18 | HTTPS_REL_TEST = test_transport_api_reliability_https |
19 | HTTPS_QUOTA_TEST = test_quota_compliance_https \ | 19 | HTTPS_QUOTA_TEST = test_quota_compliance_https \ |
20 | test_quota_compliance_https_asymmetric_recv_constant | 20 | test_quota_compliance_https_asymmetric_recv_constant |
@@ -253,17 +253,17 @@ check_PROGRAMS = \ | |||
253 | test_transport_testing \ | 253 | test_transport_testing \ |
254 | test_transport_startonly \ | 254 | test_transport_startonly \ |
255 | test_transport_api_disconnect \ | 255 | test_transport_api_disconnect \ |
256 | test_transport_api_multiaddress_tcp \ | ||
257 | test_transport_api_tcp \ | 256 | test_transport_api_tcp \ |
257 | test_transport_api_timeout_tcp \ | ||
258 | test_transport_api_limited_sockets_tcp \ | 258 | test_transport_api_limited_sockets_tcp \ |
259 | test_transport_api_tcp_nat \ | 259 | test_transport_api_tcp_nat \ |
260 | test_transport_api_udp \ | 260 | test_transport_api_udp \ |
261 | $(UNIX_PLUGIN_TEST) \ | 261 | $(UNIX_PLUGIN_TEST) \ |
262 | test_transport_api_udp_nat \ | 262 | test_transport_api_udp_nat \ |
263 | $(HTTP_PLUGIN_TEST) \ | ||
264 | $(HTTP_API_TEST) \ | 263 | $(HTTP_API_TEST) \ |
265 | $(HTTPS_PLUGIN_TEST) \ | 264 | $(HTTP_API_TIMEOUT_TEST) \ |
266 | $(HTTPS_API_TEST) \ | 265 | $(HTTPS_API_TEST) \ |
266 | $(HTTPS_API_TIMEOUT_TEST) \ | ||
267 | test_transport_api_multi \ | 267 | test_transport_api_multi \ |
268 | test_transport_api_reliability_tcp \ | 268 | test_transport_api_reliability_tcp \ |
269 | test_transport_api_reliability_tcp_nat \ | 269 | test_transport_api_reliability_tcp_nat \ |
@@ -288,17 +288,17 @@ TESTS = \ | |||
288 | test_transport_testing \ | 288 | test_transport_testing \ |
289 | test_transport_startonly \ | 289 | test_transport_startonly \ |
290 | test_transport_api_disconnect \ | 290 | test_transport_api_disconnect \ |
291 | test_transport_api_multiaddress_tcp \ | ||
292 | test_transport_api_tcp \ | 291 | test_transport_api_tcp \ |
292 | test_transport_api_timeout_tcp \ | ||
293 | test_transport_api_limited_sockets_tcp \ | 293 | test_transport_api_limited_sockets_tcp \ |
294 | test_transport_api_tcp_nat \ | 294 | test_transport_api_tcp_nat \ |
295 | test_transport_api_udp \ | 295 | test_transport_api_udp \ |
296 | $(UNIX_PLUGIN_TEST) \ | 296 | $(UNIX_PLUGIN_TEST) \ |
297 | test_transport_api_udp_nat \ | 297 | test_transport_api_udp_nat \ |
298 | $(HTTP_PLUGIN_TEST) \ | ||
299 | $(HTTP_API_TEST) \ | 298 | $(HTTP_API_TEST) \ |
300 | $(HTTPS_PLUGIN_TEST) \ | 299 | $(HTTP_API_TIMEOUT_TEST) \ |
301 | $(HTTPS_API_TEST) \ | 300 | $(HTTPS_API_TEST) \ |
301 | $(HTTPS_API_TIMEOUT_TEST) \ | ||
302 | test_transport_api_multi \ | 302 | test_transport_api_multi \ |
303 | test_transport_api_reliability_tcp \ | 303 | test_transport_api_reliability_tcp \ |
304 | test_transport_api_reliability_tcp_nat \ | 304 | test_transport_api_reliability_tcp_nat \ |
@@ -384,14 +384,30 @@ test_transport_api_reliability_tcp_LDADD = \ | |||
384 | $(top_builddir)/src/util/libgnunetutil.la \ | 384 | $(top_builddir)/src/util/libgnunetutil.la \ |
385 | $(top_builddir)/src/transport/libgnunettransporttesting.la | 385 | $(top_builddir)/src/transport/libgnunettransporttesting.la |
386 | 386 | ||
387 | test_transport_api_multiaddress_tcp_SOURCES = \ | 387 | test_transport_api_timeout_tcp_SOURCES = \ |
388 | test_transport_api_multiaddress.c | 388 | test_transport_api_timeout.c |
389 | test_transport_api_multiaddress_tcp_LDADD = \ | 389 | test_transport_api_timeout_tcp_LDADD = \ |
390 | $(top_builddir)/src/transport/libgnunettransport.la \ | 390 | $(top_builddir)/src/transport/libgnunettransport.la \ |
391 | $(top_builddir)/src/hello/libgnunethello.la \ | 391 | $(top_builddir)/src/hello/libgnunethello.la \ |
392 | $(top_builddir)/src/util/libgnunetutil.la \ | 392 | $(top_builddir)/src/util/libgnunetutil.la \ |
393 | $(top_builddir)/src/transport/libgnunettransporttesting.la | 393 | $(top_builddir)/src/transport/libgnunettransporttesting.la |
394 | 394 | ||
395 | test_transport_api_timeout_http_SOURCES = \ | ||
396 | test_transport_api_timeout.c | ||
397 | test_transport_api_timeout_http_LDADD = \ | ||
398 | $(top_builddir)/src/transport/libgnunettransport.la \ | ||
399 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
400 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
401 | $(top_builddir)/src/transport/libgnunettransporttesting.la | ||
402 | |||
403 | test_transport_api_timeout_https_SOURCES = \ | ||
404 | test_transport_api_timeout.c | ||
405 | test_transport_api_timeout_https_LDADD = \ | ||
406 | $(top_builddir)/src/transport/libgnunettransport.la \ | ||
407 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
408 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
409 | $(top_builddir)/src/transport/libgnunettransporttesting.la | ||
410 | |||
395 | test_transport_api_reliability_tcp_nat_SOURCES = \ | 411 | test_transport_api_reliability_tcp_nat_SOURCES = \ |
396 | test_transport_api_reliability.c | 412 | test_transport_api_reliability.c |
397 | test_transport_api_reliability_tcp_nat_LDADD = \ | 413 | test_transport_api_reliability_tcp_nat_LDADD = \ |
@@ -464,14 +480,6 @@ test_transport_api_reliability_http_LDADD = \ | |||
464 | $(top_builddir)/src/util/libgnunetutil.la \ | 480 | $(top_builddir)/src/util/libgnunetutil.la \ |
465 | $(top_builddir)/src/transport/libgnunettransporttesting.la | 481 | $(top_builddir)/src/transport/libgnunettransporttesting.la |
466 | 482 | ||
467 | #test_plugin_transport_https_SOURCES = \ | ||
468 | # test_plugin_transport_https.c | ||
469 | #test_plugin_transport_https_LDADD = \ | ||
470 | # $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
471 | # @LIBCURL@ \ | ||
472 | # $(top_builddir)/src/hello/libgnunethello.la \ | ||
473 | # $(top_builddir)/src/util/libgnunetutil.la | ||
474 | |||
475 | test_transport_api_https_SOURCES = \ | 483 | test_transport_api_https_SOURCES = \ |
476 | test_transport_api.c | 484 | test_transport_api.c |
477 | test_transport_api_https_LDADD = \ | 485 | test_transport_api_https_LDADD = \ |
@@ -597,12 +605,6 @@ test_quota_compliance_udp_asymmetric_recv_constant_LDADD = \ | |||
597 | $(top_builddir)/src/hello/libgnunethello.la \ | 605 | $(top_builddir)/src/hello/libgnunethello.la \ |
598 | $(top_builddir)/src/util/libgnunetutil.la | 606 | $(top_builddir)/src/util/libgnunetutil.la |
599 | 607 | ||
600 | #test_quota_compliance_udp_asymmetric_send_constant_SOURCES = \ | ||
601 | # test_quota_compliance.c | ||
602 | #test_quota_compliance_udp_asymmetric_send_constant_LDADD = \ | ||
603 | # $(top_builddir)/src/transport/libgnunettransport.la \ | ||
604 | # $(top_builddir)/src/util/libgnunetutil.la | ||
605 | |||
606 | test_quota_compliance_unix_SOURCES = \ | 608 | test_quota_compliance_unix_SOURCES = \ |
607 | test_quota_compliance.c | 609 | test_quota_compliance.c |
608 | test_quota_compliance_unix_LDADD = \ | 610 | test_quota_compliance_unix_LDADD = \ |
@@ -617,7 +619,6 @@ test_quota_compliance_unix_asymmetric_recv_constant_LDADD = \ | |||
617 | $(top_builddir)/src/hello/libgnunethello.la \ | 619 | $(top_builddir)/src/hello/libgnunethello.la \ |
618 | $(top_builddir)/src/util/libgnunetutil.la | 620 | $(top_builddir)/src/util/libgnunetutil.la |
619 | 621 | ||
620 | |||
621 | test_transport_api_multi_SOURCES = \ | 622 | test_transport_api_multi_SOURCES = \ |
622 | test_transport_api.c | 623 | test_transport_api.c |
623 | test_transport_api_multi_LDADD = \ | 624 | test_transport_api_multi_LDADD = \ |
@@ -652,8 +653,8 @@ test_transport_api_https_peer1.conf\ | |||
652 | test_transport_api_https_peer2.conf\ | 653 | test_transport_api_https_peer2.conf\ |
653 | test_transport_api_limited_sockets_tcp_peer1.conf\ | 654 | test_transport_api_limited_sockets_tcp_peer1.conf\ |
654 | test_transport_api_limited_sockets_tcp_peer2.conf\ | 655 | test_transport_api_limited_sockets_tcp_peer2.conf\ |
655 | test_transport_api_multiaddress_tcp_peer1.conf\ | 656 | test_transport_api_timeout_tcp_peer1.conf\ |
656 | test_transport_api_multiaddress_tcp_peer2.conf\ | 657 | test_transport_api_timeout_tcp_peer2.conf\ |
657 | test_transport_api_multi_peer1.conf\ | 658 | test_transport_api_multi_peer1.conf\ |
658 | test_transport_api_multi_peer2.conf\ | 659 | test_transport_api_multi_peer2.conf\ |
659 | test_transport_api_reliability_http_peer1.conf\ | 660 | test_transport_api_reliability_http_peer1.conf\ |