diff options
| author | Tomi Ollila <tomi.ollila@iki.fi> | 2015-09-11 23:44:11 +0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2015-09-25 08:00:18 -0300 |
| commit | 3c46a9e6df9ac736bf9462d3b16494069509e0e7 (patch) | |
| tree | 603b81329e460e93fe482346d470f5d598226e0f | |
| parent | 36b75cd4419c298bba7d12394b2e198a9b7f6a41 (diff) | |
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
| -rw-r--r-- | test/Makefile.local | 10 |
1 files changed, 10 insertions, 0 deletions
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 |
