multicast: add new test case to Makefile.am
authorxrs <xrs@mail36.net>
Mon, 13 Mar 2017 16:48:23 +0000 (17:48 +0100)
committerxrs <xrs@mail36.net>
Mon, 13 Mar 2017 16:48:23 +0000 (17:48 +0100)
src/multicast/Makefile.am

index 7aae13dd1b618863ea8fd543847d7977493d5219..f599cf66b76b9fbe8043c45e5432536a0588ad16 100644 (file)
@@ -51,12 +51,13 @@ gnunet_service_multicast_LDADD = \
   $(GN_LIBINTL)
 
 check_PROGRAMS = \
- test_multicast \
- test_multicast_2peers
 test_multicast \
 test_multicast_2peers
 # test_multicast_multipeer
 
 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; export GNUNET_FORCE_LOG=';;;;INFO';
+AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@}; export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH; unset XDG_DATA_HOME; unset XDG_CONFIG_HOME;
+#AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@}; export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH; unset XDG_DATA_HOME; unset XDG_CONFIG_HOME; export GNUNET_FORCE_LOG=';;;;INFO';
 TESTS = $(check_PROGRAMS)
 endif
 
@@ -67,8 +68,15 @@ test_multicast_LDADD = \
   $(top_builddir)/src/testing/libgnunettesting.la \
   $(top_builddir)/src/util/libgnunetutil.la
 
-test_multicast_2peers_SOURCE = \
- test_multicast_2peers.c
+test_multicast_multipeer_SOURCES = \
+  test_multicast_multipeer.c
+test_multicast_multipeer_LDADD = \
+  libgnunetmulticast.la \
+  $(top_builddir)/src/testbed/libgnunettestbed.la \
+  $(top_builddir)/src/util/libgnunetutil.la
+
+test_multicast_2peers_SOURCES = \
+  test_multicast_2peers.c
 test_multicast_2peers_LDADD = \
   libgnunetmulticast.la \
   $(top_builddir)/src/testbed/libgnunettestbed.la \