mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
make test: NOTMUCH_TEST_QUIET=1 is now the default
make test V=1 (or any other value than 0) and make test V=0 works similar way as build in general
This commit is contained in:
parent
36b75cd441
commit
3c46a9e6df
1 changed files with 10 additions and 0 deletions
|
@ -56,7 +56,17 @@ TEST_BINARIES := $(TEST_BINARIES:.cc=)
|
|||
test-binaries: $(TEST_BINARIES)
|
||||
|
||||
test: all test-binaries
|
||||
ifeq ($V,)
|
||||
@echo 'Use "$(MAKE) V=1" to print test headings and PASSIng results.'
|
||||
@env NOTMUCH_TEST_QUIET=1 ${test_src_dir}/notmuch-test $(OPTIONS)
|
||||
else
|
||||
# The user has explicitly enabled quiet execution.
|
||||
ifeq ($V,0)
|
||||
@env NOTMUCH_TEST_QUIET=1 ${test_src_dir}/notmuch-test $(OPTIONS)
|
||||
else
|
||||
@${test_src_dir}/notmuch-test $(OPTIONS)
|
||||
endif
|
||||
endif
|
||||
|
||||
check: test
|
||||
|
||||
|
|
Loading…
Reference in a new issue