mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-19 10:17:35 +03:00
tools: run built-in tests with a pattern
This commit is contained in:
parent
db8cb417fe
commit
7f1f392166
5
Makefile
5
Makefile
@ -360,6 +360,11 @@ unittest-builtin: bin/hledgerdev
|
|||||||
@(bin/hledgerdev test \
|
@(bin/hledgerdev test \
|
||||||
&& echo $@ PASSED) || echo $@ FAILED
|
&& 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
|
# XXX doesn't rebuild on hledger source changes
|
||||||
unittest-standalone: tools/unittest
|
unittest-standalone: tools/unittest
|
||||||
@echo unit tests (standalone):
|
@echo unit tests (standalone):
|
||||||
|
Loading…
Reference in New Issue
Block a user