check_PROGRAMS = \
- test_statistics_api
+ test_statistics_api \
+ test_statistics_api_loop
+if !DISABLE_TEST_RUN
TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
+endif
test_statistics_api_SOURCES = \
test_statistics_api.c
$(top_builddir)/src/statistics/libgnunetstatistics.la \
$(top_builddir)/src/util/libgnunetutil.la
-EXTRA_DIST = \
- test_statistics_api_data.conf
+test_statistics_api_loop_SOURCES = \
+ test_statistics_api_loop.c
+test_statistics_api_loop_LDADD = \
+ $(top_builddir)/src/statistics/libgnunetstatistics.la \
+ $(top_builddir)/src/util/libgnunetutil.la
check_SCRIPTS = \
test_gnunet_statistics.sh
+EXTRA_DIST = \
+ test_statistics_api_data.conf \
+ $(check_SCRIPTS)
+
+