1 Return-Path: <markwalters1009@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 23A71431FD4
\r
6 for <notmuch@notmuchmail.org>; Mon, 26 Aug 2013 12:57:40 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0.201 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,
\r
14 RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
15 Received: from olra.theworths.org ([127.0.0.1])
\r
16 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
17 with ESMTP id FKESTGy+XmvW for <notmuch@notmuchmail.org>;
\r
18 Mon, 26 Aug 2013 12:57:35 -0700 (PDT)
\r
19 Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com
\r
20 [209.85.212.175]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
21 (No client certificate requested)
\r
22 by olra.theworths.org (Postfix) with ESMTPS id 9206F431FD7
\r
23 for <notmuch@notmuchmail.org>; Mon, 26 Aug 2013 12:57:34 -0700 (PDT)
\r
24 Received: by mail-wi0-f175.google.com with SMTP id cb5so2161803wib.2
\r
25 for <notmuch@notmuchmail.org>; Mon, 26 Aug 2013 12:57:32 -0700 (PDT)
\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
\r
27 h=from:to:cc:subject:date:message-id:in-reply-to:references;
\r
28 bh=TxAPIKu5DqMdiNOayMz2tyEI/H+7P2+VkKgDT7dN2Kc=;
\r
29 b=JWv2iniphFE5mLoFGOhFBZpo0uFwSkjCeASbBhHYJLGGXEk9gsnfeAKhQ2BjH/Skxj
\r
30 udw6+UIQeqjibPh/rqGO3aVqRwj/I6bdMfl77vl8F0lG+4bEktmI4m0h1o9eQ7ZtTPBq
\r
31 2qcscLfuea12rC25h2SIoRUULa2R8O/SFoqIa92Y9cLg+pn93orDElQZibUnaHtHwgRW
\r
32 ZWUsvZQK0WPpPDFjbbCRd3l5ORtcBwe5aB1eANs28WpYZJZXOr5vjrliqYtTJ4vSGESe
\r
33 jckG1t7RuZ3mONpwOnrDwvpgS60Qicu4d2njVSX9Jr23NOZCDIH2KOh/G2rQqCU8ZrUb
\r
35 X-Received: by 10.180.80.229 with SMTP id u5mr8780497wix.59.1377547052112;
\r
36 Mon, 26 Aug 2013 12:57:32 -0700 (PDT)
\r
37 Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31])
\r
38 by mx.google.com with ESMTPSA id r6sm21005724wiw.0.1969.12.31.16.00.00
\r
39 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
\r
40 Mon, 26 Aug 2013 12:57:31 -0700 (PDT)
\r
41 From: Mark Walters <markwalters1009@gmail.com>
\r
42 To: notmuch@notmuchmail.org
\r
43 Subject: [PATCH 2/2] contrib: pick: remove sync tests
\r
44 Date: Mon, 26 Aug 2013 20:57:23 +0100
\r
45 Message-Id: <1377547043-17584-3-git-send-email-markwalters1009@gmail.com>
\r
46 X-Mailer: git-send-email 1.7.9.1
\r
47 In-Reply-To: <1377547043-17584-1-git-send-email-markwalters1009@gmail.com>
\r
48 References: <1377547043-17584-1-git-send-email-markwalters1009@gmail.com>
\r
49 X-BeenThere: notmuch@notmuchmail.org
\r
50 X-Mailman-Version: 2.1.13
\r
52 List-Id: "Use and development of the notmuch mail system."
\r
53 <notmuch.notmuchmail.org>
\r
54 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
57 List-Post: <mailto:notmuch@notmuchmail.org>
\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
59 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
60 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
61 X-List-Received-Date: Mon, 26 Aug 2013 19:57:40 -0000
\r
63 Since the previous commit removed the sync parser we may as well
\r
64 remove its tests too.
\r
66 contrib/notmuch-pick/run-tests.sh | 2 +-
\r
67 contrib/notmuch-pick/test/emacs-pick-sync | 64 -----------------------------
\r
68 2 files changed, 1 insertions(+), 65 deletions(-)
\r
69 delete mode 100755 contrib/notmuch-pick/test/emacs-pick-sync
\r
71 diff --git a/contrib/notmuch-pick/run-tests.sh b/contrib/notmuch-pick/run-tests.sh
\r
72 index 7ddc9cc..b642ae8 100755
\r
73 --- a/contrib/notmuch-pick/run-tests.sh
\r
74 +++ b/contrib/notmuch-pick/run-tests.sh
\r
75 @@ -7,7 +7,7 @@ fail() {
\r
79 -TESTS="emacs-pick emacs-pick-sync"
\r
81 TESTFILES="$TESTS pick.expected-output"
\r
83 export PICK_DIR="`cd \`dirname "$0"\` && pwd`"
\r
84 diff --git a/contrib/notmuch-pick/test/emacs-pick-sync b/contrib/notmuch-pick/test/emacs-pick-sync
\r
85 deleted file mode 100755
\r
86 index a7da0ff..0000000
\r
87 --- a/contrib/notmuch-pick/test/emacs-pick-sync
\r
90 -#!/usr/bin/env bash
\r
92 -test_description="emacs pick interface (sync parser)"
\r
95 -EXPECTED=$TEST_DIRECTORY/pick.expected-output
\r
98 -test_begin_subtest "Do we have emacs"
\r
99 -test_emacs '(insert "hello\n")
\r
101 -cat <<EOF >EXPECTED
\r
104 -test_expect_equal_file OUTPUT EXPECTED
\r
106 -test_begin_subtest "Basic notmuch-pick view in emacs"
\r
107 -test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")
\r
108 - (require (quote notmuch-pick))
\r
109 - (setq notmuch-pick-asynchronous-parser nil)
\r
110 - (notmuch-pick "tag:inbox")
\r
111 - (notmuch-test-wait)
\r
113 - (delete-other-windows)'
\r
114 -test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox
\r
116 -test_begin_subtest "Navigation of notmuch-hello to search results"
\r
117 -test_emacs '(notmuch-hello)
\r
118 - (goto-char (point-min))
\r
119 - (re-search-forward "inbox")
\r
120 - (widget-button-press (1- (point)))
\r
121 - (notmuch-test-wait)
\r
122 - (notmuch-pick-from-search-current-query)
\r
123 - (notmuch-test-wait)
\r
125 - (delete-other-windows)'
\r
126 -test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox
\r
128 -test_begin_subtest "Pick of a single thread (from search)"
\r
129 -test_emacs '(notmuch-hello)
\r
130 - (goto-char (point-min))
\r
131 - (re-search-forward "inbox")
\r
132 - (widget-button-press (1- (point)))
\r
133 - (notmuch-test-wait)
\r
134 - (notmuch-pick-from-search-thread)
\r
135 - (notmuch-test-wait)
\r
137 - (delete-other-windows)'
\r
138 -test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-single-thread
\r
140 -test_begin_subtest "Pick of a single thread (from show)"
\r
141 -test_emacs '(notmuch-hello)
\r
142 - (goto-char (point-min))
\r
143 - (re-search-forward "inbox")
\r
144 - (widget-button-press (1- (point)))
\r
145 - (notmuch-test-wait)
\r
146 - (notmuch-search-show-thread)
\r
147 - (notmuch-pick-from-show-current-query)
\r
148 - (notmuch-test-wait)
\r
150 - (delete-other-windows)'
\r
151 -test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-single-thread
\r