From 06140ea610947f55feec26bf6c097eb5049a161a Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 7 Jun 2017 07:20:25 -0700 Subject: [PATCH] tools: make test: less stack progress output; skip redundant builtin tests --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 273e8b778..fffcb4680 100644 --- a/Makefile +++ b/Makefile @@ -532,7 +532,7 @@ $(call def-help-subsection,TESTING:) # ) # for p in $(PACKAGES); do packdeps $$p/$$p.cabal; done -test: pkgtest builtintest functest \ +test: pkgtest functest \ $(call def-help,test, run default tests ) travistest: \ @@ -591,13 +591,13 @@ travistest: \ #@echo package tests: pkgtest: \ $(call def-help,pkgtest, run the test suites for each package ) - @($(STACK) test \ + @($(STACK) test --silent \ && echo $@ PASSED) || (echo $@ FAILED; false) # NB ensure hledger executable is current (eg do pkgtest first) #@echo "built-in tests (hledger cli unit tests)": builtintest: \ - $(call def-help,builtintest, run tests built in to the hledger executable (subset of pkg tests) ) + $(call def-help,builtintest, run tests built in to the hledger executable (these are also run by pkg tests) ) @($(STACK) exec hledger test \ && echo $@ PASSED) || (echo $@ FAILED; false)