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
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
$(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 \
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 \