]> git.notmuchmail.org Git - notmuch/blobdiff - test/Makefile.local
configure: add test for default xapian backend
[notmuch] / test / Makefile.local
index 2331ceb15e33d2733c79187c413601484c2bbd67..30d420e5b661793a1fcde8118136a729048e4811 100644 (file)
@@ -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