Makefile: allow make test to take TESTARGS.
This commit is contained in:
parent
482e5b78a0
commit
257d96f199
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
@ -10,8 +10,10 @@ full:
|
|||
stack install --flag 'pandoc:embed_data_files' --test --test-arguments='-j4' --pedantic
|
||||
stack haddock
|
||||
|
||||
# Note: to accept current results of golden tests,
|
||||
# make test TESTARGS='--accept'
|
||||
test:
|
||||
stack test --flag 'pandoc:embed_data_files' --fast --test-arguments='-j4 --hide-successes'
|
||||
stack test --flag 'pandoc:embed_data_files' --fast --test-arguments='-j4 --hide-successes $(TESTARGS)'
|
||||
|
||||
bench:
|
||||
stack bench
|
||||
|
|
Loading…
Add table
Reference in a new issue