dev: HLEDGER selects the hledger version when running error tests
This commit is contained in:
parent
ebec23f614
commit
c22e9f6cc8
@ -1,7 +1,9 @@
|
||||
HLEDGER ?= hledger
|
||||
|
||||
# Check error messages of hledger in $PATH against current error tests.
|
||||
test:
|
||||
@printf "Running error message tests with hledger $$(hledger --version | awk '{print $$2}'):\n"
|
||||
shelltest *.test
|
||||
@printf "Running error message tests with hledger $$($(HLEDGER) --version | awk '{print $$2}'):\n"
|
||||
shelltest -w $(HLEDGER) *.test
|
||||
|
||||
TESTJOURNALS=*.j
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user