only run tests if they are enabled
authorChristian Grothoff <christian@grothoff.org>
Wed, 1 Jun 2016 17:29:59 +0000 (17:29 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 1 Jun 2016 17:29:59 +0000 (17:29 +0000)
src/my/Makefile.am
src/pq/Makefile.am

index 9103be38e606b8c02054f129e1671e9c946fd591..959085c5fddb2bb22c1eeb91176ef07bc6f8e076 100644 (file)
@@ -25,8 +25,10 @@ libgnunetmy_la_LDFLAGS = \
  $(GN_LIB_LDFLAGS) \
   -version-info 0:0:0
 
+if ENABLE_TEST_RUN
 TESTS = \
  test_my
+endif
 
 check_PROGRAMS= \
  test_my
@@ -38,4 +40,3 @@ test_my_LDADD = \
   $(top_builddir)/src/mysql/libgnunetmysql.la \
   $(top_builddir)/src/util/libgnunetutil.la  \
   -lmysqlclient $(XLIB)
-
index 66f57838e84f67bba78cb5a2f8e5aedf2cdaa598..8bb0a013291a5639ce59f1f3ac201ab048cb324a 100644 (file)
@@ -24,9 +24,10 @@ libgnunetpq_la_LDFLAGS = \
  $(GN_LIB_LDFLAGS) \
   -version-info 0:0:0
 
-
+if ENABLE_TEST_RUN
 TESTS = \
  test_pq
+endif
 
 check_PROGRAMS= \
  test_pq