mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-05 11:15:27 +03:00
;cln: make functest-PAT now filters the same tests run by make functest
This commit is contained in:
parent
42efbbe4aa
commit
d5fdfdbdc7
5
Makefile
5
Makefile
@ -528,10 +528,13 @@ functest: hledger/test/addons/hledger-addon \
|
||||
-x ledger-compat/baseline -x ledger-compat/regress -x ledger-compat/collected \
|
||||
&& echo $@ PASSED) || (echo $@ FAILED; false)
|
||||
|
||||
# keep shelltest command synced with above
|
||||
functest-%: hledger/test/addons/hledger-addon \
|
||||
$(call def-help,functest-PAT, build hledger quickly and run just the functional tests matching PAT )
|
||||
@$(STACK) build --fast hledger
|
||||
@($(SHELLTESTSTK) -w $(FUNCTESTEXE) hledger/test/ -i "$*" \
|
||||
@($(SHELLTESTSTK) -i "$*" -w $(FUNCTESTEXE) \
|
||||
hledger/test/ bin/ \
|
||||
-x ledger-compat/baseline -x ledger-compat/regress -x ledger-compat/collected \
|
||||
&& echo $@ PASSED) || (echo $@ FAILED; false)
|
||||
|
||||
ADDONEXTS=pl py rb sh hs lhs rkt exe com bat
|
||||
|
Loading…
Reference in New Issue
Block a user