mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-24 02:44:25 +03:00
tools: make test: less stack progress output; skip redundant builtin tests
This commit is contained in:
parent
54915bba61
commit
06140ea610
6
Makefile
6
Makefile
@ -532,7 +532,7 @@ $(call def-help-subsection,TESTING:)
|
|||||||
# )
|
# )
|
||||||
# for p in $(PACKAGES); do packdeps $$p/$$p.cabal; done
|
# for p in $(PACKAGES); do packdeps $$p/$$p.cabal; done
|
||||||
|
|
||||||
test: pkgtest builtintest functest \
|
test: pkgtest functest \
|
||||||
$(call def-help,test, run default tests )
|
$(call def-help,test, run default tests )
|
||||||
|
|
||||||
travistest: \
|
travistest: \
|
||||||
@ -591,13 +591,13 @@ travistest: \
|
|||||||
#@echo package tests:
|
#@echo package tests:
|
||||||
pkgtest: \
|
pkgtest: \
|
||||||
$(call def-help,pkgtest, run the test suites for each package )
|
$(call def-help,pkgtest, run the test suites for each package )
|
||||||
@($(STACK) test \
|
@($(STACK) test --silent \
|
||||||
&& echo $@ PASSED) || (echo $@ FAILED; false)
|
&& echo $@ PASSED) || (echo $@ FAILED; false)
|
||||||
|
|
||||||
# NB ensure hledger executable is current (eg do pkgtest first)
|
# NB ensure hledger executable is current (eg do pkgtest first)
|
||||||
#@echo "built-in tests (hledger cli unit tests)":
|
#@echo "built-in tests (hledger cli unit tests)":
|
||||||
builtintest: \
|
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 \
|
@($(STACK) exec hledger test \
|
||||||
&& echo $@ PASSED) || (echo $@ FAILED; false)
|
&& echo $@ PASSED) || (echo $@ FAILED; false)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user