diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-10-12 00:07:56 +0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-10-12 00:07:56 +0200 |
commit | 9d0ef0268f7903fd91ef11ed055a7714a70c7c29 (patch) | |
tree | ce2ad88f579dec956ab50d879fd8a64fc951d824 | |
parent | 20bbc715578bff5f5b2433334a39750f083d0305 (diff) | |
download | blogc-9d0ef0268f7903fd91ef11ed055a7714a70c7c29.tar.gz blogc-9d0ef0268f7903fd91ef11ed055a7714a70c7c29.tar.bz2 blogc-9d0ef0268f7903fd91ef11ed055a7714a70c7c29.zip |
build: fix test building
-rw-r--r-- | Makefile.am | 4 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index e5d9469..212bcfe 100644 --- a/Makefile.am +++ b/Makefile.am @@ -319,6 +319,8 @@ endif ## Build rules: tests +if BUILD_TESTS + if BUILD_GIT_RECEIVER dist_check_SCRIPTS += \ tests/blogc-git-receiver/check_post_receive.sh \ @@ -648,6 +650,8 @@ endif endif +endif + TESTS = \ $(check_PROGRAMS) \ $(dist_check_SCRIPTS) \ diff --git a/configure.ac b/configure.ac index 8d29465..e5b9ac9 100644 --- a/configure.ac +++ b/configure.ac @@ -170,7 +170,7 @@ AS_IF([test "x$have_tests" = "xyes"], [ ]) ]) ]) -AM_CONDITIONAL([BUILD_TESTS], [test "x$enable_tests" = "xyes"]) +AM_CONDITIONAL([BUILD_TESTS], [test "x$have_tests" = "xyes"]) AM_CONDITIONAL([USE_CMOCKA], [test "x$have_cmocka" = "xyes"]) AM_CONDITIONAL([USE_BGR_DEPS], [test "x$have_bgr_deps" = "xyes"]) |