1 Return-Path: <too@guru-group.fi>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by arlo.cworth.org (Postfix) with ESMTP id 470F96DE0ACD
\r
6 for <notmuch@notmuchmail.org>; Fri, 11 Sep 2015 13:44:11 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=0.193 tagged_above=-999 required=5 tests=[AWL=0.733,
\r
12 RP_MATCHES_RCVD=-0.55, T_HEADER_FROM_DIFFERENT_DOMAINS=0.01]
\r
14 Received: from arlo.cworth.org ([127.0.0.1])
\r
15 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id NITcsbMt4lMV for <notmuch@notmuchmail.org>;
\r
17 Fri, 11 Sep 2015 13:44:09 -0700 (PDT)
\r
18 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])
\r
19 by arlo.cworth.org (Postfix) with ESMTP id C5B656DE09FB
\r
20 for <notmuch@notmuchmail.org>; Fri, 11 Sep 2015 13:44:08 -0700 (PDT)
\r
21 Received: by guru.guru-group.fi (Postfix, from userid 501)
\r
22 id B56BE1001E5; Fri, 11 Sep 2015 23:44:12 +0300 (EEST)
\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
24 To: notmuch@notmuchmail.org
\r
25 Subject: [PATCH] make test: NOTMUCH_TEST_QUIET=1 is now the default
\r
26 Date: Fri, 11 Sep 2015 23:44:11 +0300
\r
27 Message-Id: <1442004251-32325-1-git-send-email-tomi.ollila@iki.fi>
\r
28 X-Mailer: git-send-email 2.0.0
\r
29 Cc: tomi.ollila@iki.fi
\r
30 X-BeenThere: notmuch@notmuchmail.org
\r
31 X-Mailman-Version: 2.1.18
\r
33 List-Id: "Use and development of the notmuch mail system."
\r
34 <notmuch.notmuchmail.org>
\r
35 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
36 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
37 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
38 List-Post: <mailto:notmuch@notmuchmail.org>
\r
39 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
40 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
41 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
42 X-List-Received-Date: Fri, 11 Sep 2015 20:44:11 -0000
\r
44 make test V=1 (or any other value than 0) and make test V=0
\r
45 works similar way as build in general
\r
48 This is 2nd try: In first one I changed test-lib.sh -- there problem
\r
49 was the precedence between command line argument and NOTMUCH_TEST_QUIET
\r
50 environment variable. Here I don't see a problem there (although
\r
51 env NOTMUCH_TEST_QUIET=1 make test V=1 will make environment variable
\r
52 overrule the V=1 -- I am not sure who cares, though :D)
\r
54 Anyway, Someone(TM) may have better solution in mind, so let's
\r
55 get bikeshedding going!
\r
57 test/Makefile.local | 10 ++++++++++
\r
58 1 file changed, 10 insertions(+)
\r
60 diff --git a/test/Makefile.local b/test/Makefile.local
\r
61 index 2331ceb..2b18691 100644
\r
62 --- a/test/Makefile.local
\r
63 +++ b/test/Makefile.local
\r
64 @@ -56,7 +56,17 @@ TEST_BINARIES := $(TEST_BINARIES:.cc=)
\r
65 test-binaries: $(TEST_BINARIES)
\r
67 test: all test-binaries
\r
69 + @echo 'Use "$(MAKE) V=1" to print test headings and PASSIng results.'
\r
70 + @env NOTMUCH_TEST_QUIET=1 ${test_src_dir}/notmuch-test $(OPTIONS)
\r
72 +# The user has explicitly enabled quiet execution.
\r
74 + @env NOTMUCH_TEST_QUIET=1 ${test_src_dir}/notmuch-test $(OPTIONS)
\r
76 @${test_src_dir}/notmuch-test $(OPTIONS)
\r