Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 23A71431FD4 for ; Mon, 26 Aug 2013 12:57:40 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.201 X-Spam-Level: X-Spam-Status: No, score=0.201 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FKESTGy+XmvW for ; Mon, 26 Aug 2013 12:57:35 -0700 (PDT) Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 9206F431FD7 for ; Mon, 26 Aug 2013 12:57:34 -0700 (PDT) Received: by mail-wi0-f175.google.com with SMTP id cb5so2161803wib.2 for ; Mon, 26 Aug 2013 12:57:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=TxAPIKu5DqMdiNOayMz2tyEI/H+7P2+VkKgDT7dN2Kc=; b=JWv2iniphFE5mLoFGOhFBZpo0uFwSkjCeASbBhHYJLGGXEk9gsnfeAKhQ2BjH/Skxj udw6+UIQeqjibPh/rqGO3aVqRwj/I6bdMfl77vl8F0lG+4bEktmI4m0h1o9eQ7ZtTPBq 2qcscLfuea12rC25h2SIoRUULa2R8O/SFoqIa92Y9cLg+pn93orDElQZibUnaHtHwgRW ZWUsvZQK0WPpPDFjbbCRd3l5ORtcBwe5aB1eANs28WpYZJZXOr5vjrliqYtTJ4vSGESe jckG1t7RuZ3mONpwOnrDwvpgS60Qicu4d2njVSX9Jr23NOZCDIH2KOh/G2rQqCU8ZrUb OFoA== X-Received: by 10.180.80.229 with SMTP id u5mr8780497wix.59.1377547052112; Mon, 26 Aug 2013 12:57:32 -0700 (PDT) Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31]) by mx.google.com with ESMTPSA id r6sm21005724wiw.0.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 26 Aug 2013 12:57:31 -0700 (PDT) From: Mark Walters To: notmuch@notmuchmail.org Subject: [PATCH 2/2] contrib: pick: remove sync tests Date: Mon, 26 Aug 2013 20:57:23 +0100 Message-Id: <1377547043-17584-3-git-send-email-markwalters1009@gmail.com> X-Mailer: git-send-email 1.7.9.1 In-Reply-To: <1377547043-17584-1-git-send-email-markwalters1009@gmail.com> References: <1377547043-17584-1-git-send-email-markwalters1009@gmail.com> X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Aug 2013 19:57:40 -0000 Since the previous commit removed the sync parser we may as well remove its tests too. --- contrib/notmuch-pick/run-tests.sh | 2 +- contrib/notmuch-pick/test/emacs-pick-sync | 64 ----------------------------- 2 files changed, 1 insertions(+), 65 deletions(-) delete mode 100755 contrib/notmuch-pick/test/emacs-pick-sync diff --git a/contrib/notmuch-pick/run-tests.sh b/contrib/notmuch-pick/run-tests.sh index 7ddc9cc..b642ae8 100755 --- a/contrib/notmuch-pick/run-tests.sh +++ b/contrib/notmuch-pick/run-tests.sh @@ -7,7 +7,7 @@ fail() { exit 1 } -TESTS="emacs-pick emacs-pick-sync" +TESTS="emacs-pick" TESTFILES="$TESTS pick.expected-output" export PICK_DIR="`cd \`dirname "$0"\` && pwd`" diff --git a/contrib/notmuch-pick/test/emacs-pick-sync b/contrib/notmuch-pick/test/emacs-pick-sync deleted file mode 100755 index a7da0ff..0000000 --- a/contrib/notmuch-pick/test/emacs-pick-sync +++ /dev/null @@ -1,64 +0,0 @@ -#!/usr/bin/env bash - -test_description="emacs pick interface (sync parser)" -. test-lib.sh - -EXPECTED=$TEST_DIRECTORY/pick.expected-output - -add_email_corpus -test_begin_subtest "Do we have emacs" -test_emacs '(insert "hello\n") - (test-output)' -cat <EXPECTED -hello -EOF -test_expect_equal_file OUTPUT EXPECTED - -test_begin_subtest "Basic notmuch-pick view in emacs" -test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") - (require (quote notmuch-pick)) - (setq notmuch-pick-asynchronous-parser nil) - (notmuch-pick "tag:inbox") - (notmuch-test-wait) - (test-output) - (delete-other-windows)' -test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox - -test_begin_subtest "Navigation of notmuch-hello to search results" -test_emacs '(notmuch-hello) - (goto-char (point-min)) - (re-search-forward "inbox") - (widget-button-press (1- (point))) - (notmuch-test-wait) - (notmuch-pick-from-search-current-query) - (notmuch-test-wait) - (test-output) - (delete-other-windows)' -test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox - -test_begin_subtest "Pick of a single thread (from search)" -test_emacs '(notmuch-hello) - (goto-char (point-min)) - (re-search-forward "inbox") - (widget-button-press (1- (point))) - (notmuch-test-wait) - (notmuch-pick-from-search-thread) - (notmuch-test-wait) - (test-output) - (delete-other-windows)' -test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-single-thread - -test_begin_subtest "Pick of a single thread (from show)" -test_emacs '(notmuch-hello) - (goto-char (point-min)) - (re-search-forward "inbox") - (widget-button-press (1- (point))) - (notmuch-test-wait) - (notmuch-search-show-thread) - (notmuch-pick-from-show-current-query) - (notmuch-test-wait) - (test-output) - (delete-other-windows)' -test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-single-thread - -test_done -- 1.7.9.1