From eea0c6e6a2405c05be5fcd81139ba859ba688d58 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Tue, 21 Feb 2017 19:26:23 +0100 Subject: [PATCH] Add new testcases, to exercise the mq API. --- src/cadet/Makefile.am | 77 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/src/cadet/Makefile.am b/src/cadet/Makefile.am index 74791d66e..3cf92c349 100644 --- a/src/cadet/Makefile.am +++ b/src/cadet/Makefile.am @@ -125,6 +125,22 @@ if HAVE_TESTING check_PROGRAMS = \ test_cadet_local_mq \ test_cadet_2_forward_new \ + test_cadet_2_forward_new \ + test_cadet_2_signal_new \ + test_cadet_2_keepalive_new \ + test_cadet_2_speed_new \ + test_cadet_2_speed_ack_new \ + test_cadet_2_speed_backwards_new \ + test_cadet_2_speed_reliable_new \ + test_cadet_2_speed_reliable_backwards_new \ + test_cadet_5_forward_new \ + test_cadet_5_signal_new \ + test_cadet_5_keepalive_new \ + test_cadet_5_speed_new \ + test_cadet_5_speed_ack_new \ + test_cadet_5_speed_reliable_new \ + test_cadet_5_speed_reliable_backwards_new \ + test_cadet_5_speed_backwards_new \ test_cadet_single \ test_cadet_local \ test_cadet_2_forward \ @@ -270,6 +286,67 @@ test_cadet_2_forward_new_SOURCES = \ test_cadet_new.c test_cadet_2_forward_new_LDADD = $(ld_cadet_test_lib_new) +test_cadet_2_signal_new_SOURCES = \ + test_cadet_new.c +test_cadet_2_signal_new_LDADD = $(ld_cadet_test_lib_new) + +test_cadet_2_keepalive_new_SOURCES = \ + test_cadet_new.c +test_cadet_2_keepalive_new_LDADD = $(ld_cadet_test_lib_new) + +test_cadet_2_speed_new_SOURCES = \ + test_cadet_new.c +test_cadet_2_speed_new_LDADD = $(ld_cadet_test_lib_new) + +test_cadet_2_speed_ack_new_SOURCES = \ + test_cadet_new.c +test_cadet_2_speed_ack_new_LDADD = $(ld_cadet_test_lib_new) + +test_cadet_2_speed_backwards_new_SOURCES = \ + test_cadet_new.c +test_cadet_2_speed_backwards_new_LDADD = $(ld_cadet_test_lib_new) + +test_cadet_2_speed_reliable_new_SOURCES = \ + test_cadet_new.c +test_cadet_2_speed_reliable_new_LDADD = $(ld_cadet_test_lib_new) + +test_cadet_2_speed_reliable_backwards_new_SOURCES = \ + test_cadet_new.c +test_cadet_2_speed_reliable_backwards_new_LDADD = $(ld_cadet_test_lib_new) + + +test_cadet_5_forward_new_SOURCES = \ + test_cadet_new.c +test_cadet_5_forward_new_LDADD = $(ld_cadet_test_lib_new) + +test_cadet_5_signal_new_SOURCES = \ + test_cadet_new.c +test_cadet_5_signal_new_LDADD = $(ld_cadet_test_lib_new) + +test_cadet_5_keepalive_new_SOURCES = \ + test_cadet_new.c +test_cadet_5_keepalive_new_LDADD = $(ld_cadet_test_lib_new) + +test_cadet_5_speed_new_SOURCES = \ + test_cadet_new.c +test_cadet_5_speed_new_LDADD = $(ld_cadet_test_lib_new) + +test_cadet_5_speed_ack_new_SOURCES = \ + test_cadet_new.c +test_cadet_5_speed_ack_new_LDADD = $(ld_cadet_test_lib_new) + +test_cadet_5_speed_backwards_new_SOURCES = \ + test_cadet_new.c +test_cadet_5_speed_backwards_new_LDADD = $(ld_cadet_test_lib_new) + +test_cadet_5_speed_reliable_new_SOURCES = \ + test_cadet_new.c +test_cadet_5_speed_reliable_new_LDADD = $(ld_cadet_test_lib_new) + +test_cadet_5_speed_reliable_backwards_new_SOURCES = \ + test_cadet_new.c +test_cadet_5_speed_reliable_backwards_new_LDADD = $(ld_cadet_test_lib_new) + if ENABLE_TEST_RUN AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME; -- 2.25.1