From 3c46a9e6df9ac736bf9462d3b16494069509e0e7 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Fri, 11 Sep 2015 23:44:11 +0300 Subject: [PATCH] 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 --- test/Makefile.local | 10 ++++++++++ 1 file changed, 10 insertions(+) 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