From: Christian Grothoff Date: Wed, 1 Jun 2016 17:29:59 +0000 (+0000) Subject: only run tests if they are enabled X-Git-Tag: initial-import-from-subversion-38251~827 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=97a8a1d497ef954ea1c929208fd2a362df5ec6cb;p=oweals%2Fgnunet.git only run tests if they are enabled --- diff --git a/src/my/Makefile.am b/src/my/Makefile.am index 9103be38e..959085c5f 100644 --- a/src/my/Makefile.am +++ b/src/my/Makefile.am @@ -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) - diff --git a/src/pq/Makefile.am b/src/pq/Makefile.am index 66f57838e..8bb0a0132 100644 --- a/src/pq/Makefile.am +++ b/src/pq/Makefile.am @@ -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