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