XLIB = -lgcov
endif
+if ENABLE_LL
+ ll_binaries = \
+ gnunet-testbed-mpi-spawn
+endif
+
libexecdir= $(pkglibdir)/libexec/
pkgcfgdir= $(pkgdatadir)/config.d/
libexec_PROGRAMS = \
gnunet-service-testbed \
- gnunet-helper-testbed
+ gnunet-helper-testbed \
+ gnunet-service-testbed-logger
-noinst_PROGRAMS = \
+bin_PROGRAMS = \
+ $(ll_binaries) \
gnunet-testbed-profiler
gnunet_service_testbed_SOURCES = \
- gnunet-service-testbed.c
+ gnunet-service-testbed.h \
+ gnunet-service-testbed.c \
+ gnunet-service-testbed_links.c \
+ gnunet-service-testbed_peers.c \
+ gnunet-service-testbed_cache.c \
+ gnunet-service-testbed_oc.c \
+ gnunet-service-testbed_cpustatus.c \
+ gnunet-service-testbed_meminfo.c \
+ gnunet-service-testbed_meminfo.h
gnunet_service_testbed_LDADD = $(XLIB) \
$(top_builddir)/src/util/libgnunetutil.la \
$(top_builddir)/src/core/libgnunetcore.la \
$(top_builddir)/src/transport/libgnunettransport.la \
$(top_builddir)/src/testing/libgnunettesting.la \
$(top_builddir)/src/testbed/libgnunettestbed.la \
- $(LTLIBINTL) -lz
+ $(top_builddir)/src/arm/libgnunetarm.la \
+ $(LTLIBINTL) $(Z_LIBS)
gnunet_service_testbed_DEPENDENCIES = \
- libgnunettestbed.la
+ libgnunettestbed.la
+
+gnunet_service_testbed_logger_SOURCES = \
+ gnunet-service-testbed-logger.c
+gnunet_service_testbed_logger_LDADD = \
+ $(top_builddir)/src/util/libgnunetutil.la
gnunet_testbed_profiler_SOURCES = \
gnunet-testbed-profiler.c
gnunet_testbed_profiler_LDADD = $(XLIB) \
$(top_builddir)/src/util/libgnunetutil.la \
+ $(top_builddir)/src/testbed/libgnunettestbed.la
+gnunet_testbed_profiler_DEPENDENCIES = \
libgnunettestbed.la
gnunet_helper_testbed_SOURCES = \
$(top_builddir)/src/util/libgnunetutil.la \
$(top_builddir)/src/testing/libgnunettesting.la \
libgnunettestbed.la \
- $(LTLIBINTL) -lz
+ $(LTLIBINTL) $(Z_LIBS)
gnunet_helper_testbed_DEPENDENCIES = \
gnunet-service-testbed.$(OBJEXT) \
libgnunettestbed.la
+gnunet_testbed_mpi_spawn_SOURCES = gnunet_testbed_mpi_spawn.c
+gnunet_testbed_mpi_spawn_LDADD = $(XLIB) \
+ $(top_builddir)/src/util/libgnunetutil.la \
+ $(top_builddir)/src/testbed/libgnunettestbed.la
+gnunet_testbed_mpi_spawn_DEPENDENCIES = \
+ $(top_builddir)/src/util/libgnunetutil.la \
+ libgnunettestbed.la
+
lib_LTLIBRARIES = \
- libgnunettestbed.la
+ libgnunettestbed.la \
+ libgnunettestbedlogger.la
libgnunettestbed_la_SOURCES = \
testbed_api.c testbed_api.h testbed.h \
testbed_api_statistics.c \
testbed_api_testbed.c \
testbed_api_test.c \
- testbed_api_topology.c
+ testbed_api_topology.c testbed_api_topology.h \
+ testbed_api_sd.c testbed_api_sd.h
libgnunettestbed_la_LIBADD = $(XLIB) \
$(top_builddir)/src/core/libgnunetcore.la \
$(top_builddir)/src/statistics/libgnunetstatistics.la \
$(GN_LIB_LDFLAGS) \
-version-info 0:0:0
+libgnunettestbedlogger_la_SOURCES = \
+ testbed_logger_api.c
+libgnunettestbedlogger_la_LIBADD = $(XLIB) \
+ $(top_builddir)/src/util/libgnunetutil.la \
+ $(LTLIBINTL)
+libgnunettestbedlogger_la_LDFLAGS = \
+ $(GN_LIB_LDFLAGS) \
+ -version-info 0:0:0
+
check_PROGRAMS = \
- test_testbed_api_hosts \
- test_testbed_api_controllerlink \
- test_testbed_api_2peers_1controller \
- test_testbed_api_3peers_3controllers \
- test_testbed_api \
- test_testbed_api_operations \
- test_testbed_api_testbed_run \
- test_testbed_api_test \
- test_gnunet_helper_testbed \
- test_testbed_api_topology \
- test_testbed_api_topology_clique \
- test_testbed_api_testbed_run_topologyrandom \
- test_testbed_api_testbed_run_topologyline \
- test_testbed_api_testbed_run_topologyclique \
- test_testbed_api_testbed_run_topologyring \
- test_testbed_api_testbed_run_topologysmallworldring \
- test_testbed_api_testbed_run_topology2dtorus
+ test_testbed_api_hosts \
+ test_testbed_logger_api \
+ test_gnunet_helper_testbed \
+ test_testbed_api_controllerlink \
+ test_testbed_api_2peers_1controller \
+ test_testbed_api_3peers_3controllers \
+ test_testbed_api \
+ test_testbed_api_sd \
+ test_testbed_api_operations \
+ test_testbed_api_testbed_run \
+ test_testbed_api_test \
+ test_testbed_api_test_timeout \
+ test_testbed_api_peer_reconfiguration \
+ test_testbed_api_peers_manage_services \
+ test_testbed_api_topology \
+ test_testbed_api_topology_clique \
+ test_testbed_api_testbed_run_topologyrandom \
+ test_testbed_api_testbed_run_topologyline \
+ test_testbed_api_testbed_run_topologyclique \
+ test_testbed_api_testbed_run_topologyring \
+ test_testbed_api_testbed_run_topologysmallworldring \
+ test_testbed_api_testbed_run_topology2dtorus \
+ test_testbed_api_testbed_run_topologysmallworld \
+ test_testbed_api_testbed_run_topologyfromfile \
+ test_testbed_api_testbed_run_topologyscalefree \
+ test_testbed_api_testbed_run_waitforever \
+ test_testbed_api_statistics
if ENABLE_TEST_RUN
TESTS = \
test_testbed_api \
- test_testbed_api_hosts \
- test_testbed_api_2peers_1controller \
- test_testbed_api_3peers_3controllers \
+ test_testbed_logger_api \
+ test_testbed_api_sd \
test_testbed_api_operations \
+ test_testbed_api_hosts \
test_gnunet_helper_testbed \
+ test_testbed_api_2peers_1controller \
test_testbed_api_controllerlink \
+ test_testbed_api_3peers_3controllers \
test_testbed_api_testbed_run \
test_testbed_api_test \
+ test_testbed_api_test_timeout \
+ test_testbed_api_statistics \
+ test_testbed_api_peer_reconfiguration \
+ test_testbed_api_peers_manage_services \
test_testbed_api_topology \
test_testbed_api_topology_clique \
- test_testbed_api_testbed_run_topologyrandom \
- test_testbed_api_testbed_run_topologyline \
- test_testbed_api_testbed_run_topologyclique \
- test_testbed_api_testbed_run_topologyring \
- test_testbed_api_testbed_run_topologysmallworldring \
- test_testbed_api_testbed_run_topology2dtorus
+ test_testbed_api_testbed_run_topologyrandom \
+ test_testbed_api_testbed_run_topologyline \
+ test_testbed_api_testbed_run_topologyclique \
+ test_testbed_api_testbed_run_topologyring \
+ test_testbed_api_testbed_run_topology2dtorus \
+ test_testbed_api_testbed_run_topologysmallworld \
+ test_testbed_api_testbed_run_topologysmallworldring \
+ test_testbed_api_testbed_run_topologyfromfile \
+ test_testbed_api_testbed_run_topologyscalefree
endif
test_testbed_api_hosts_SOURCES = \
test_testbed_api_LDADD = \
$(top_builddir)/src/util/libgnunetutil.la \
$(top_builddir)/src/testing/libgnunettesting.la \
- $(top_builddir)/src/dht/libgnunetdht.la \
+ $(top_builddir)/src/arm/libgnunetarm.la \
+ libgnunettestbed.la
+
+test_testbed_logger_api_SOURCES = \
+ test_testbed_logger_api.c
+test_testbed_logger_api_LDADD = \
+ $(top_builddir)/src/util/libgnunetutil.la \
+ $(top_builddir)/src/testing/libgnunettesting.la \
+ libgnunettestbedlogger.la
+
+test_testbed_api_sd_SOURCES = \
+ test_testbed_api_sd.c
+test_testbed_api_sd_LDADD = \
+ $(top_builddir)/src/util/libgnunetutil.la \
libgnunettestbed.la
test_testbed_api_2peers_1controller_SOURCES = \
$(top_builddir)/src/util/libgnunetutil.la \
libgnunettestbed.la
+test_testbed_api_test_timeout_SOURCES = \
+ test_testbed_api_test_timeout.c
+test_testbed_api_test_timeout_LDADD = \
+ $(top_builddir)/src/util/libgnunetutil.la \
+ libgnunettestbed.la
+
test_testbed_api_topology_SOURCES = \
test_testbed_api_topology.c
test_testbed_api_topology_LDADD = \
test_gnunet_helper_testbed_LDADD = \
$(top_builddir)/src/util/libgnunetutil.la \
libgnunettestbed.la \
- -lz
+ $(Z_LIBZ)
test_testbed_api_testbed_run_topologyrandom_SOURCES = \
test_testbed_api_testbed_run.c
$(top_builddir)/src/util/libgnunetutil.la \
libgnunettestbed.la
+test_testbed_api_testbed_run_topologysmallworld_SOURCES = \
+ test_testbed_api_testbed_run.c
+test_testbed_api_testbed_run_topologysmallworld_LDADD = \
+ $(top_builddir)/src/util/libgnunetutil.la \
+ libgnunettestbed.la
+
+test_testbed_api_testbed_run_topologyfromfile_SOURCES = \
+ test_testbed_api_testbed_run.c
+test_testbed_api_testbed_run_topologyfromfile_LDADD = \
+ $(top_builddir)/src/util/libgnunetutil.la \
+ libgnunettestbed.la
+
+test_testbed_api_testbed_run_topologyscalefree_SOURCES = \
+ test_testbed_api_testbed_run.c
+test_testbed_api_testbed_run_topologyscalefree_LDADD = \
+ $(top_builddir)/src/util/libgnunetutil.la \
+ libgnunettestbed.la
+
+test_testbed_api_testbed_run_waitforever_SOURCES = \
+ test_testbed_api_testbed_run.c
+test_testbed_api_testbed_run_waitforever_LDADD = \
+ $(top_builddir)/src/util/libgnunetutil.la \
+ libgnunettestbed.la
+
+test_testbed_api_statistics_SOURCES = \
+ test_testbed_api_statistics.c
+test_testbed_api_statistics_LDADD = \
+ $(top_builddir)/src/util/libgnunetutil.la \
+ libgnunettestbed.la
+
+test_testbed_api_peers_manage_services_SOURCES = \
+ test_testbed_api_peers_manage_services.c
+test_testbed_api_peers_manage_services_LDADD = \
+ $(top_builddir)/src/util/libgnunetutil.la \
+ libgnunettestbed.la
+
+test_testbed_api_peer_reconfiguration_SOURCES = \
+ test_testbed_api_peer_reconfiguration.c
+test_testbed_api_peer_reconfiguration_LDADD = \
+ $(top_builddir)/src/util/libgnunetutil.la \
+ libgnunettestbed.la
+
EXTRA_DIST = \
test_testbed_api.conf \
+ test_testbed_api_test_timeout.conf \
test_testbed_api_testbed_run_topologyring.conf \
test_testbed_api_testbed_run_topologyclique.conf \
test_testbed_api_testbed_run_topologyline.conf \
test_testbed_api_testbed_run_topologyrandom.conf \
test_testbed_api_testbed_run_topologysmallworldring.conf \
test_testbed_api_testbed_run_topology2dtorus.conf \
- sample_hosts.txt
\ No newline at end of file
+ test_testbed_api_testbed_run_topologysmallworld.conf \
+ test_testbed_api_testbed_run_topologyfromfile.conf \
+ test_testbed_api_testbed_run_topologyscalefree.conf \
+ overlay_topology.txt \
+ sample_hosts.txt \
+ sample.job