if HAVE_SQLITE
underlay_daemon = gnunet-daemon-testbed-underlay
+ latency_logger = gnunet-daemon-latency-logger
generate_underlay = generate-underlay-topology
+ underlay_testcases = test_testbed_underlay
endif
libexec_PROGRAMS = \
gnunet-helper-testbed \
gnunet-service-testbed-logger \
gnunet-daemon-testbed-blacklist \
- $(underlay_daemon)
+ $(underlay_daemon) \
+ $(latency_logger)
bin_PROGRAMS = \
gnunet-testbed-profiler
$(top_builddir)/src/transport/libgnunettransport.la \
$(top_builddir)/src/util/libgnunetutil.la
+gnunet_daemon_latency_logger_SOURCES = gnunet-daemon-latency-logger.c
+gnunet_daemon_latency_logger_LDADD = $(XLIB) \
+ $(top_builddir)/src/ats/libgnunetats.la \
+ $(top_builddir)/src/util/libgnunetutil.la \
+ $(LTLIBINTL) -lsqlite3
+gnunet_daemon_latency_logger_DEPENDENCIES = \
+ $(top_builddir)/src/ats/libgnunetats.la \
+ $(top_builddir)/src/util/libgnunetutil.la
+
lib_LTLIBRARIES = \
libgnunettestbed.la \
libgnunettestbedlogger.la
test_testbed_api_testbed_run_waitforever \
test_testbed_api_statistics \
gnunet-service-test-barriers \
- test_testbed_api_barriers
+ test_testbed_api_barriers \
+ $(underlay_testcases)
if ENABLE_TEST_RUN
+ AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
TESTS = \
test_testbed_api \
test_testbed_logger_api \
test_testbed_api_testbed_run_topologysmallworldring \
test_testbed_api_testbed_run_topologyfromfile \
test_testbed_api_testbed_run_topologyscalefree \
- test_testbed_api_barriers
+ test_testbed_api_barriers \
+ $(underlay_testcases)
endif
test_testbed_api_hosts_SOURCES = \
$(top_builddir)/src/util/libgnunetutil.la \
libgnunettestbed.la
test_testbed_api_barriers_DEPENDENCIES = \
- gnunet-service-test-barriers
+ gnunet-service-test-barriers$(EXEEXT)
gnunet_service_test_barriers_SOURCES = \
gnunet-service-test-barriers.c \
$(top_builddir)/src/util/libgnunetutil.la \
libgnunettestbed.la
+test_testbed_underlay_SOURCES = \
+ test_testbed_underlay.c
+test_testbed_underlay_LDADD = \
+ $(top_builddir)/src/util/libgnunetutil.la \
+ libgnunettestbed.la
+
EXTRA_DIST = \
test_testbed_api.conf \
+ test_testbed_api_statistics.conf \
test_testbed_api_test_timeout.conf \
test_testbed_api_template.conf \
test_testbed_logger_api.conf \
test_testbed_api_barriers.conf.in \
overlay_topology.txt \
sample_hosts.txt \
- sample.job
+ sample.job \
+ test_testbed_underlay.conf.in \
+ test-underlay.sqlite