tools: run built-in tests with a pattern

This commit is contained in:
Simon Michael 2013-01-11 13:32:27 +00:00
parent db8cb417fe
commit 7f1f392166

View File

@ -360,6 +360,11 @@ unittest-builtin: bin/hledgerdev
@(bin/hledgerdev test \
&& echo $@ PASSED) || echo $@ FAILED
unittest-%: bin/hledgerdev
@echo unit tests:
@(bin/hledgerdev test $* \
&& echo $@ PASSED) || echo $@ FAILED
# XXX doesn't rebuild on hledger source changes
unittest-standalone: tools/unittest
@echo unit tests (standalone):