diff options
author | Bart Polot <bart.polot+gnunet@gmail.com> | 2017-02-21 13:30:07 +0100 |
---|---|---|
committer | Bart Polot <bart.polot+gnunet@gmail.com> | 2017-02-21 13:31:39 +0100 |
commit | 291f4c74df104728a0a0bb105650b2f33f9b3d9d (patch) | |
tree | 3f71a4c93e44c10df123db5f79f3fc98e29ca30c /src/cadet/Makefile.am | |
parent | a5c4a4b1c66b2bab197d0690881d6f3bdc56a833 (diff) | |
download | gnunet-291f4c74df104728a0a0bb105650b2f33f9b3d9d.tar.gz gnunet-291f4c74df104728a0a0bb105650b2f33f9b3d9d.zip |
Rewrite cadet tests using MQ API
Diffstat (limited to 'src/cadet/Makefile.am')
-rw-r--r-- | src/cadet/Makefile.am | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/src/cadet/Makefile.am b/src/cadet/Makefile.am index 1a51453c9..74791d66e 100644 --- a/src/cadet/Makefile.am +++ b/src/cadet/Makefile.am | |||
@@ -110,7 +110,7 @@ endif | |||
110 | 110 | ||
111 | 111 | ||
112 | if HAVE_TESTING | 112 | if HAVE_TESTING |
113 | noinst_LIBRARIES = libgnunetcadettest.a $(noinst_LIB_EXP) | 113 | noinst_LIBRARIES = libgnunetcadettest.a libgnunetcadettestnew.a $(noinst_LIB_EXP) |
114 | noinst_PROGRAMS = gnunet-cadet-profiler | 114 | noinst_PROGRAMS = gnunet-cadet-profiler |
115 | endif | 115 | endif |
116 | 116 | ||
@@ -124,6 +124,7 @@ libgnunetcadettest_a_LIBADD = \ | |||
124 | if HAVE_TESTING | 124 | if HAVE_TESTING |
125 | check_PROGRAMS = \ | 125 | check_PROGRAMS = \ |
126 | test_cadet_local_mq \ | 126 | test_cadet_local_mq \ |
127 | test_cadet_2_forward_new \ | ||
127 | test_cadet_single \ | 128 | test_cadet_single \ |
128 | test_cadet_local \ | 129 | test_cadet_local \ |
129 | test_cadet_2_forward \ | 130 | test_cadet_2_forward \ |
@@ -245,6 +246,31 @@ test_cadet_5_speed_reliable_backwards_SOURCES = \ | |||
245 | test_cadet_5_speed_reliable_backwards_LDADD = $(ld_cadet_test_lib) | 246 | test_cadet_5_speed_reliable_backwards_LDADD = $(ld_cadet_test_lib) |
246 | 247 | ||
247 | 248 | ||
249 | # NEW TESTS | ||
250 | libgnunetcadettestnew_a_SOURCES = \ | ||
251 | cadet_test_lib_new.c cadet_test_lib_new.h | ||
252 | libgnunetcadettestnew_a_LIBADD = \ | ||
253 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
254 | $(top_builddir)/src/testbed/libgnunettestbed.la \ | ||
255 | libgnunetcadetnew.la | ||
256 | |||
257 | ld_cadet_test_lib_new = \ | ||
258 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
259 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
260 | libgnunetcadetnew.la \ | ||
261 | libgnunetcadettestnew.a \ | ||
262 | $(top_builddir)/src/testbed/libgnunettestbed.la \ | ||
263 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
264 | dep_cadet_test_lib_new = \ | ||
265 | libgnunetcadetnew.la \ | ||
266 | libgnunetcadettestnew.a \ | ||
267 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
268 | |||
269 | test_cadet_2_forward_new_SOURCES = \ | ||
270 | test_cadet_new.c | ||
271 | test_cadet_2_forward_new_LDADD = $(ld_cadet_test_lib_new) | ||
272 | |||
273 | |||
248 | if ENABLE_TEST_RUN | 274 | if ENABLE_TEST_RUN |
249 | AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME; | 275 | AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME; |
250 | TESTS = \ | 276 | TESTS = \ |