how did this test ever work without assigning core handles?
[oweals/gnunet.git] / src / core / Makefile.am
index 7e4cd7f54284f59ee1e154df683e388834bcd9df..b34cb5a442f59f661ad8f7ee2cf5ffc36d7ae385 100644 (file)
@@ -22,8 +22,7 @@ lib_LTLIBRARIES = \
 
 libgnunetcore_la_SOURCES = \
   core_api.c core.h \
-  core_api_iterate_peers.c \
-  core_api_is_connected.c 
+  core_api_iterate_peers.c
 libgnunetcore_la_LIBADD = \
   $(top_builddir)/src/util/libgnunetutil.la \
   $(GN_LIBINTL) $(XLIB)
@@ -60,6 +59,10 @@ gnunet_core_LDADD = \
 gnunet_core_DEPENDENCIES = \
   libgnunetcore.la
 
+if HAVE_TESTING
+  TESTING_TESTS = test_core_api_send_to_self
+endif
+
 check_PROGRAMS = \
  test_core_api_start_only \
  test_core_api \
@@ -67,7 +70,7 @@ check_PROGRAMS = \
  test_core_quota_compliance_symmetric \
  test_core_quota_compliance_asymmetric_send_limited \
  test_core_quota_compliance_asymmetric_recv_limited \
- test_core_api_send_to_self
+ $(TESTING_TESTS)
 
 if ENABLE_TEST_RUN
 TESTS = $(check_PROGRAMS)