From b68732e73479295e90b2ac491d80597cf34043d9 Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 25 Jun 2022 00:20:23 -0700 Subject: [PATCH] ... --- Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.am b/Makefile.am index c4e4179..1224485 100644 --- a/Makefile.am +++ b/Makefile.am @@ -17,7 +17,10 @@ cold_SOURCES += \ inc/main.h check-local: + @-ps -A | grep bitcoind > /dev/null && echo "ERROR: bitcoind running; can't run tests" + @[[ ! "`ps -A | grep bitcoind > /dev/null && echo "bitcoind running"`" != "" ]] && echo "" @head -n `grep -n "main()" cold-setup | cut -f1 -d:` cold-setup | head -n -1 > test/source.sh + @-rm -rf test/.testdir @cd test && run-parts --exit-on-error --regex '.*\.tests\.sh' . @rm -rf test/.testdir -- 2.30.2