Add new testcases, to exercise the mq API.
authorBart Polot <bart.polot+gnunet@gmail.com>
Tue, 21 Feb 2017 18:26:23 +0000 (19:26 +0100)
committerBart Polot <bart.polot+gnunet@gmail.com>
Tue, 21 Feb 2017 18:26:23 +0000 (19:26 +0100)
src/cadet/Makefile.am

index 74791d66eb5876abb3ff4dfc190ae4f3d9e6fc24..3cf92c349aa76a488b37fd485111c8471ca11d48 100644 (file)
@@ -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;