1 Return-Path: <pieter@praet.org>
\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 olra.theworths.org (Postfix) with ESMTP id A433B431FAF
\r
6 for <notmuch@notmuchmail.org>; Wed, 18 Jan 2012 04:21:33 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id DrtY3FqEjBTY for <notmuch@notmuchmail.org>;
\r
16 Wed, 18 Jan 2012 04:21:33 -0800 (PST)
\r
17 Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com
\r
18 [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client
\r
19 certificate requested) by olra.theworths.org (Postfix) with ESMTPS id
\r
20 1D4DC431FAE for <notmuch@notmuchmail.org>; Wed, 18 Jan 2012 04:21:32 -0800
\r
22 Received: by wgbdr13 with SMTP id dr13so2254717wgb.2
\r
23 for <notmuch@notmuchmail.org>; Wed, 18 Jan 2012 04:21:31 -0800 (PST)
\r
24 Received: by 10.180.77.35 with SMTP id p3mr36072496wiw.11.1326889291902;
\r
25 Wed, 18 Jan 2012 04:21:31 -0800 (PST)
\r
26 Received: from localhost ([109.131.97.13])
\r
27 by mx.google.com with ESMTPS id r1sm22124380wia.8.2012.01.18.04.21.31
\r
28 (version=TLSv1/SSLv3 cipher=OTHER);
\r
29 Wed, 18 Jan 2012 04:21:31 -0800 (PST)
\r
30 From: Pieter Praet <pieter@praet.org>
\r
31 To: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>,
\r
32 Ethan Glasser-Camp <glasse@cs.rpi.edu>
\r
33 Subject: [PATCH] test: always report missing prereqs,
\r
34 independent of `--verbose' option
\r
35 Date: Wed, 18 Jan 2012 13:19:41 +0100
\r
36 Message-Id: <1326889181-32311-1-git-send-email-pieter@praet.org>
\r
37 X-Mailer: git-send-email 1.7.8.1
\r
38 In-Reply-To: <87d3aj8rcl.fsf@gmail.com>
\r
39 References: <87d3aj8rcl.fsf@gmail.com>
\r
40 Cc: Notmuch Mail <notmuch@notmuchmail.org>
\r
41 X-BeenThere: notmuch@notmuchmail.org
\r
42 X-Mailman-Version: 2.1.13
\r
44 List-Id: "Use and development of the notmuch mail system."
\r
45 <notmuch.notmuchmail.org>
\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
47 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
49 List-Post: <mailto:notmuch@notmuchmail.org>
\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
52 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
53 X-List-Received-Date: Wed, 18 Jan 2012 12:21:33 -0000
\r
55 When tests are skipped due to missing prereqs, those prereqs are only
\r
56 displayed when running with the `--verbose' option. This is essential
\r
57 information when troubleshooting, so always send to stdout.
\r
61 test/test-lib.sh | 4 ++--
\r
62 1 files changed, 2 insertions(+), 2 deletions(-)
\r
64 diff --git a/test/test-lib.sh b/test/test-lib.sh
\r
65 index d1fbc05..6560628 100644
\r
66 --- a/test/test-lib.sh
\r
67 +++ b/test/test-lib.sh
\r
68 @@ -673,8 +673,8 @@ test_skip () {
\r
70 test_check_missing_external_prereqs_ () {
\r
71 if test -n "$test_subtest_missing_external_prereqs_"; then
\r
72 - say_color skip >&3 "missing prerequisites:"
\r
73 - echo "$test_subtest_missing_external_prereqs_" >&3
\r
74 + say_color skip >&1 "missing prerequisites:"
\r
75 + echo "$test_subtest_missing_external_prereqs_" >&1
\r
76 test_report_skip_ "$@"
\r