From: Tomi Ollila Date: Fri, 11 Sep 2015 20:44:11 +0000 (+0300) Subject: make test: NOTMUCH_TEST_QUIET=1 is now the default X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3c46a9e6df9ac736bf9462d3b16494069509e0e7;p=notmuch.git 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 --- diff --git a/test/Makefile.local b/test/Makefile.local index 2331ceb1..2b186914 100644 --- a/test/Makefile.local +++ b/test/Makefile.local @@ -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