aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-10-12 02:44:25 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-10-12 02:44:25 +0200
commitde580e7999400b7d8789ce3747db4f2a63f2538b (patch)
tree968cd75d779c844123dc10a0b3999f80628c90cc /Makefile.am
parentbc7d2545d47bf54acebb38ab3d1e2dd7251ddb99 (diff)
downloadblogc-de580e7999400b7d8789ce3747db4f2a63f2538b.tar.gz
blogc-de580e7999400b7d8789ce3747db4f2a63f2538b.tar.bz2
blogc-de580e7999400b7d8789ce3747db4f2a63f2538b.zip
build: use bash, but get it properly during build time
hardcoding it for travis, as bash is always installed there.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am12
1 files changed, 8 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index 212bcfe..8aed820 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -92,7 +92,7 @@ endif
check_PROGRAMS = \
$(NULL)
-dist_check_SCRIPTS = \
+check_SCRIPTS = \
$(NULL)
@@ -322,7 +322,7 @@ endif
if BUILD_TESTS
if BUILD_GIT_RECEIVER
-dist_check_SCRIPTS += \
+check_SCRIPTS += \
tests/blogc-git-receiver/check_post_receive.sh \
tests/blogc-git-receiver/check_pre_receive.sh \
tests/blogc-git-receiver/check_shell.sh \
@@ -654,7 +654,11 @@ endif
TESTS = \
$(check_PROGRAMS) \
- $(dist_check_SCRIPTS) \
+ $(check_SCRIPTS) \
+ $(NULL)
+
+CLEANFILES += \
+ $(check_SCRIPTS) \
$(NULL)
@@ -684,5 +688,5 @@ if USE_VALGRIND
valgrind: all
$(MAKE) check TESTS_ENVIRONMENT=" \
VALGRIND=$(VALGRIND) \
- $(top_srcdir)/build-aux/valgrind.sh"
+ $(BASH) -e $(top_srcdir)/build-aux/valgrind.sh"
endif