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 olra.theworths.org (Postfix) with ESMTP id E93A3431E84
\r
6 for <notmuch@notmuchmail.org>; Tue, 12 Nov 2013 12:41:23 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\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 68FqNHCEfbKZ for <notmuch@notmuchmail.org>;
\r
16 Tue, 12 Nov 2013 12:41:17 -0800 (PST)
\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])
\r
18 by olra.theworths.org (Postfix) with ESMTP id 15781431FD7
\r
19 for <notmuch@notmuchmail.org>; Tue, 12 Nov 2013 12:41:17 -0800 (PST)
\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)
\r
21 id 9681D1000E5; Tue, 12 Nov 2013 22:41:12 +0200 (EET)
\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
23 To: notmuch@notmuchmail.org
\r
24 Subject: [PATCH 2/3] test: print empty line at the beginning of test script,
\r
26 Date: Tue, 12 Nov 2013 22:41:07 +0200
\r
27 Message-Id: <1384288868-23903-2-git-send-email-tomi.ollila@iki.fi>
\r
28 X-Mailer: git-send-email 1.8.0
\r
29 In-Reply-To: <1384288868-23903-1-git-send-email-tomi.ollila@iki.fi>
\r
30 References: <1384288868-23903-1-git-send-email-tomi.ollila@iki.fi>
\r
31 Cc: tomi.ollila@iki.fi
\r
32 X-BeenThere: notmuch@notmuchmail.org
\r
33 X-Mailman-Version: 2.1.13
\r
35 List-Id: "Use and development of the notmuch mail system."
\r
36 <notmuch.notmuchmail.org>
\r
37 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
38 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
39 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
40 List-Post: <mailto:notmuch@notmuchmail.org>
\r
41 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
42 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
43 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
44 X-List-Received-Date: Tue, 12 Nov 2013 20:41:24 -0000
\r
46 In preparation for quiet mode print empty line before writing the
\r
47 test description. This is done now in function designed for it --
\r
48 it will also be called when test fails.
\r
50 test/notmuch-test | 1 +
\r
51 test/test-lib.sh | 9 ++++++---
\r
52 test/test.expected-output/test-verbose-no | 1 +
\r
53 test/test.expected-output/test-verbose-yes | 1 +
\r
54 4 files changed, 9 insertions(+), 3 deletions(-)
\r
56 diff --git a/test/notmuch-test b/test/notmuch-test
\r
57 index 18593f6..d6fdd3a 100755
\r
58 --- a/test/notmuch-test
\r
59 +++ b/test/notmuch-test
\r
60 @@ -98,6 +98,7 @@ done
\r
65 ./aggregate-results.sh test-results/*
\r
68 diff --git a/test/test-lib.sh b/test/test-lib.sh
\r
69 index 808bb7f..e022e46 100644
\r
70 --- a/test/test-lib.sh
\r
71 +++ b/test/test-lib.sh
\r
72 @@ -190,7 +190,12 @@ then
\r
76 -echo $this_test: "Testing ${test_description}"
\r
77 +print_test_description ()
\r
80 + echo $this_test: "Testing ${test_description}"
\r
82 +print_test_description
\r
86 @@ -968,8 +973,6 @@ test_done () {
\r
87 echo "failed $test_failure" >> $test_results_path
\r
88 echo "" >> $test_results_path
\r
92 [ -n "$EMACS_SERVER" ] && test_emacs '(kill-emacs)'
\r
94 if [ "$test_failure" = "0" ]; then
\r
95 diff --git a/test/test.expected-output/test-verbose-no b/test/test.expected-output/test-verbose-no
\r
96 index 0bca754..1a2ff61 100644
\r
97 --- a/test/test.expected-output/test-verbose-no
\r
98 +++ b/test/test.expected-output/test-verbose-no
\r
101 test-verbose: Testing the verbosity options of the test framework itself.
\r
102 PASS print something in test_expect_success and pass
\r
103 FAIL print something in test_expect_success and fail
\r
104 diff --git a/test/test.expected-output/test-verbose-yes b/test/test.expected-output/test-verbose-yes
\r
105 index ebe5187..d25466e 100644
\r
106 --- a/test/test.expected-output/test-verbose-yes
\r
107 +++ b/test/test.expected-output/test-verbose-yes
\r
110 test-verbose: Testing the verbosity options of the test framework itself.
\r