tools: avoid excessive rebuilding with make [func]test

This commit is contained in:
Simon Michael 2017-03-21 09:17:10 +00:00
parent d75f52eed3
commit fc51940c78

View File

@ -606,9 +606,9 @@ builtintest: \
# @(run$(GHC) $(MAIN) test \
# && echo $@ PASSED) || echo $@ FAILED
# assumes hledger is built and uses whatever build is there, avoiding excessive rebuilding
functest: tests/addons/hledger-addon \
$(call def-help,functest, run the functional tests for hledger )
@$(STACK) build hledger
@(COLUMNS=80 $(SHELLTESTSTK) tests \
&& echo $@ PASSED) || echo $@ FAILED