-only trigger check config if we actually need it
[oweals/gnunet.git] / src / ats / Makefile.am
index 63917b9073cc9613ca2bcbfcdc073f7675f88f49..ffe2c961671628bb76e7548bb1665eaa831cf776 100644 (file)
@@ -99,12 +99,16 @@ gnunet_service_ats_LDADD = \
 if HAVE_TESTING
 TESTING_TESTS = \
  test_ats_api_proportional \
+ test_ats_reservation_api_proportional
+if HAVE_WACHS
+TESTING_TESTS += \
  test_ats_api_ril
 if HAVE_LIBGLPK
 TESTING_TESTS += \
  test_ats_api_mlp
 endif
 endif
+endif
 
 check_PROGRAMS = \
  $(TESTING_TESTS)
@@ -123,6 +127,15 @@ test_ats_api_proportional_LDADD = \
   $(top_builddir)/src/testing/libgnunettesting.la \
   libgnunetats.la
 
+test_ats_reservation_api_proportional_SOURCES = \
+ test_ats_reservation_api.c \
+ test_ats_lib.c test_ats_lib.h
+test_ats_reservation_api_proportional_LDADD = \
+  $(top_builddir)/src/util/libgnunetutil.la \
+  $(top_builddir)/src/hello/libgnunethello.la \
+  $(top_builddir)/src/testing/libgnunettesting.la \
+  libgnunetats.la
+
 test_ats_api_ril_SOURCES = \
  test_ats_api.c \
  test_ats_lib.c test_ats_lib.h