1 Return-Path: <dmitry.kurochkin@gmail.com>
\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 13651429E2E
\r
6 for <notmuch@notmuchmail.org>; Wed, 16 Nov 2011 17:57:07 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id p04C79ax81a4 for <notmuch@notmuchmail.org>;
\r
17 Wed, 16 Nov 2011 17:57:06 -0800 (PST)
\r
18 Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com
\r
19 [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id 6740F429E3B
\r
22 for <notmuch@notmuchmail.org>; Wed, 16 Nov 2011 17:56:58 -0800 (PST)
\r
23 Received: by mail-bw0-f53.google.com with SMTP id q10so1456807bka.26
\r
24 for <notmuch@notmuchmail.org>; Wed, 16 Nov 2011 17:56:58 -0800 (PST)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
26 h=from:to:subject:date:message-id:x-mailer:in-reply-to:references;
\r
27 bh=j5949cCO3Knke4hIDS2+gJKF+o7WUpbvNP6GdE5jIJo=;
\r
28 b=uUy38omGdFSykBDfMvcAB/N39wzoZn5VxOKFgLyY8S8kzbMW9R7ayf7IvUB4ulmVR4
\r
29 fX2I0T9X1d/gdvvUm1dsPug/m8Ef+gcKlVYjP9GMFNT1SFPh2zKASI50drFwmTg4+29h
\r
30 h5X6lLmWalCR56IjCNXbwEJ3CLguhYZL5BGKs=
\r
31 Received: by 10.204.9.204 with SMTP id m12mr4654093bkm.131.1321495018104;
\r
32 Wed, 16 Nov 2011 17:56:58 -0800 (PST)
\r
33 Received: from localhost ([91.144.186.21])
\r
34 by mx.google.com with ESMTPS id c4sm3473104bkk.13.2011.11.16.17.56.57
\r
35 (version=TLSv1/SSLv3 cipher=OTHER);
\r
36 Wed, 16 Nov 2011 17:56:57 -0800 (PST)
\r
37 From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>
\r
38 To: notmuch@notmuchmail.org
\r
39 Subject: [PATCH 5/9] test: fix "skipping test" verbose output
\r
40 Date: Thu, 17 Nov 2011 05:56:22 +0400
\r
41 Message-Id: <1321494986-18998-6-git-send-email-dmitry.kurochkin@gmail.com>
\r
42 X-Mailer: git-send-email 1.7.7.2
\r
43 In-Reply-To: <1321494986-18998-1-git-send-email-dmitry.kurochkin@gmail.com>
\r
44 References: <1321494986-18998-1-git-send-email-dmitry.kurochkin@gmail.com>
\r
45 X-BeenThere: notmuch@notmuchmail.org
\r
46 X-Mailman-Version: 2.1.13
\r
48 List-Id: "Use and development of the notmuch mail system."
\r
49 <notmuch.notmuchmail.org>
\r
50 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
51 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
52 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
53 List-Post: <mailto:notmuch@notmuchmail.org>
\r
54 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
55 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
56 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
57 X-List-Received-Date: Thu, 17 Nov 2011 01:57:07 -0000
\r
60 test/test-lib.sh | 3 ++-
\r
61 1 files changed, 2 insertions(+), 1 deletions(-)
\r
63 diff --git a/test/test-lib.sh b/test/test-lib.sh
\r
64 index ab8c6fd..acac8ca 100755
\r
65 --- a/test/test-lib.sh
\r
66 +++ b/test/test-lib.sh
\r
67 @@ -635,41 +635,42 @@ test_skip () {
\r
68 test_report_skip_ "$@"
\r
71 test_check_missing_external_prereqs_ "$@"
\r
76 test_check_missing_external_prereqs_ () {
\r
77 if test -n "$test_subtest_missing_external_prereqs_"; then
\r
78 say_color skip >&3 "missing prerequisites:"
\r
79 echo "$test_subtest_missing_external_prereqs_" >&3
\r
80 test_report_skip_ "$@"
\r
86 test_report_skip_ () {
\r
88 - say_color skip >&3 "skipping test: $@"
\r
89 + say_color skip >&3 "skipping test:"
\r
91 say_color skip "%-6s" "SKIP"
\r
95 test_subtest_known_broken () {
\r
96 test_subtest_known_broken_=t
\r
99 test_expect_success () {
\r
100 test "$#" = 3 && { prereq=$1; shift; } || prereq=
\r
102 error "bug in the test script: not 2 or 3 parameters to test-expect-success"
\r
104 if ! test_skip "$@"
\r
108 # test_run_ may update missing external prerequisites
\r
109 test_check_missing_external_prereqs_ "$@" ||
\r
110 if [ "$run_ret" = 0 -a "$eval_ret" = 0 ]
\r