From: Mark Walters Date: Fri, 1 Nov 2013 09:23:42 +0000 (+0000) Subject: [PATCH v2 8/11] test: tree: remove require from tests X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2f316bb607a4f44522f36c40620364275479d674;p=notmuch-archives.git [PATCH v2 8/11] test: tree: remove require from tests --- diff --git a/2e/4c54834f0fe7471aeb057192b46106aa280fb0 b/2e/4c54834f0fe7471aeb057192b46106aa280fb0 new file mode 100644 index 000000000..856fa8b6a --- /dev/null +++ b/2e/4c54834f0fe7471aeb057192b46106aa280fb0 @@ -0,0 +1,125 @@ +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 7F382431FBD + for ; Fri, 1 Nov 2013 02:24:13 -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 pIL9AZQkjNxx for ; + Fri, 1 Nov 2013 02:24:09 -0700 (PDT) +Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com + [209.85.212.180]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 05BD6431FD5 + for ; Fri, 1 Nov 2013 02:24:02 -0700 (PDT) +Received: by mail-wi0-f180.google.com with SMTP id ey11so807848wid.1 + for ; Fri, 01 Nov 2013 02:24:02 -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=x3kG5C9SKQXwxx24/25nUnyk9Dw/1WT8iJTLLpWC0U8=; + b=pOuKu0v63QW4lR39iQE+Oy7/k2G+gHN9gJZQyFHFfxjFNpxo6R/lzQeuegFIfzP5vI + BYL8Daeo7bZDn6w7s9XxaIH6IcdDUO+6s8NxfxbEVXuyf6n1MXqNyxkKfcrTWYYIhN7B + Otf3jjmHS1H9Yk+QrL92H85/qulfCtO3GtlcO7iV+SGWlk09NheJsfKaOHcRaU/hDXyQ + ++FJPinpf/42YplXRqDWxGCjjbxORT9eLmZsNigEXjyp+gE5AaBPBHJ7tntl2KiFW6kd + lQm1BiI/5s6UmZ0zYqhT+Hlr+cnBkUIAjPkgokgsYHZVh0W+B1BLkG8yKqTztPO5k6YO + vMMA== +X-Received: by 10.194.7.98 with SMTP id i2mr400465wja.84.1383297841956; + Fri, 01 Nov 2013 02:24:01 -0700 (PDT) +Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31]) + by mx.google.com with ESMTPSA id ft19sm5598925wic.5.2013.11.01.02.24.01 + for + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Fri, 01 Nov 2013 02:24:01 -0700 (PDT) +From: Mark Walters +To: notmuch@notmuchmail.org +Subject: [PATCH v2 8/11] test: tree: remove require from tests +Date: Fri, 1 Nov 2013 09:23:42 +0000 +Message-Id: <1383297825-12326-3-git-send-email-markwalters1009@gmail.com> +X-Mailer: git-send-email 1.7.9.1 +In-Reply-To: <1383297825-12326-1-git-send-email-markwalters1009@gmail.com> +References: <1383087338-10220-1-git-send-email-markwalters1009@gmail.com> + <1383297825-12326-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: Fri, 01 Nov 2013 09:24:14 -0000 + +Now tree is included by default we don't need to "require it" in the +test. +--- + test/emacs-tree | 6 ------ + 1 files changed, 0 insertions(+), 6 deletions(-) + +diff --git a/test/emacs-tree b/test/emacs-tree +index 4e3b624..4bdfddd 100755 +--- a/test/emacs-tree ++++ b/test/emacs-tree +@@ -9,7 +9,6 @@ add_email_corpus + + test_begin_subtest "Basic notmuch-tree view in emacs" + test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") +- (require (quote notmuch-tree)) + (notmuch-tree "tag:inbox") + (notmuch-test-wait) + (test-output) +@@ -18,7 +17,6 @@ test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-tag-inbox + + test_begin_subtest "Refreshed notmuch-tree view in emacs" + test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") +- (require (quote notmuch-tree)) + (notmuch-tree "tag:inbox") + (notmuch-test-wait) + (notmuch-tree-refresh-view) +@@ -33,7 +31,6 @@ test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-tag-inbox + + test_begin_subtest "Tag message in notmuch tree view (display)" + test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") +- (require (quote notmuch-tree)) + (notmuch-tree "tag:inbox") + (notmuch-test-wait) + (forward-line) +@@ -48,7 +45,6 @@ test_expect_equal "$output" "id:877h1wv7mg.fsf@inf-8657.int-evry.fr" + + test_begin_subtest "Untag message in notmuch tree view" + test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") +- (require (quote notmuch-tree)) + (notmuch-tree "tag:inbox") + (notmuch-test-wait) + (forward-line) +@@ -63,7 +59,6 @@ test_expect_equal "$output" "" + + test_begin_subtest "Tag thread in notmuch tree view" + test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") +- (require (quote notmuch-tree)) + (notmuch-tree "tag:inbox") + (notmuch-test-wait) + ;; move to a sizable thread +@@ -86,7 +81,6 @@ id:20091117190054.GU3165@dottiness.seas.harvard.edu" + + test_begin_subtest "Untag thread in notmuch tree view" + test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") +- (require (quote notmuch-tree)) + (notmuch-tree "tag:inbox") + (notmuch-test-wait) + ;; move to the same sizable thread as above +-- +1.7.9.1 +