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 342CC431FC3
\r
6 for <notmuch@notmuchmail.org>; Thu, 9 Jan 2014 07:19:13 -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 zu3F4gChjmSk for <notmuch@notmuchmail.org>;
\r
16 Thu, 9 Jan 2014 07:19:07 -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 97877431FBF
\r
19 for <notmuch@notmuchmail.org>; Thu, 9 Jan 2014 07:19:07 -0800 (PST)
\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)
\r
21 id 55AEB100063; Thu, 9 Jan 2014 17:19:00 +0200 (EET)
\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
23 To: notmuch@notmuchmail.org
\r
24 Subject: [PATCH 1/2] test: basic: drop 'ensure all available tests are run'
\r
25 Date: Thu, 9 Jan 2014 17:18:58 +0200
\r
26 Message-Id: <1389280739-31930-1-git-send-email-tomi.ollila@iki.fi>
\r
27 X-Mailer: git-send-email 1.8.0
\r
28 Cc: tomi.ollila@iki.fi
\r
29 X-BeenThere: notmuch@notmuchmail.org
\r
30 X-Mailman-Version: 2.1.13
\r
32 List-Id: "Use and development of the notmuch mail system."
\r
33 <notmuch.notmuchmail.org>
\r
34 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
35 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
36 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
37 List-Post: <mailto:notmuch@notmuchmail.org>
\r
38 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
39 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
40 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
41 X-List-Received-Date: Thu, 09 Jan 2014 15:19:13 -0000
\r
43 When naming test scripts in format 'T\d\d\d-name.sh' the list of
\r
44 tests to run are created dynamically. This makes test
\r
46 'Ensure that all available tests will be run by notmuch-test'
\r
48 in test/basic obsolete.
\r
50 test/basic | 18 ------------------
\r
51 1 file changed, 18 deletions(-)
\r
53 diff --git a/test/basic b/test/basic
\r
54 index f7eed32..9c94b62 100755
\r
57 @@ -49,24 +49,6 @@ test_expect_code 2 'failure to clean up causes the test to fail' '
\r
58 test_when_finished "(exit 2)"
\r
61 -# Ensure that all tests are being run
\r
62 -test_begin_subtest 'Ensure that all available tests will be run by notmuch-test'
\r
63 -eval $(sed -n -e '/^TESTS="$/,/^"$/p' $TEST_DIRECTORY/notmuch-test)
\r
64 -tests_in_suite=$(for i in $TESTS; do echo $i; done | sort)
\r
65 -available=$(find "$TEST_DIRECTORY" -maxdepth 1 -type f \
\r
66 - '(' -perm -100 -o -perm -10 -o -perm -1 ')' \
\r
67 - ! -name aggregate-results.sh \
\r
68 - ! -name arg-test \
\r
69 - ! -name hex-xcode \
\r
70 - ! -name notmuch-test \
\r
71 - ! -name parse-time \
\r
72 - ! -name random-corpus \
\r
73 - ! -name smtp-dummy \
\r
74 - ! -name symbol-test \
\r
75 - ! -name test-verbose \
\r
76 - | sed 's,.*/,,' | sort)
\r
77 -test_expect_equal "$tests_in_suite" "$available"
\r
79 EXPECTED=$TEST_DIRECTORY/test.expected-output
\r
80 suppress_diff_date() {
\r
81 sed -e 's/\(.*\-\-\- test-verbose\.4\.\expected\).*/\1/' \
\r