[PATCH] test: add test-binaries target
authorDavid Bremner <david@tethera.net>
Sun, 4 Dec 2011 15:58:49 +0000 (11:58 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:40:33 +0000 (09:40 -0800)
51/3d2fe007eecdc4dabb8c6d235d5acf67312597 [new file with mode: 0644]

diff --git a/51/3d2fe007eecdc4dabb8c6d235d5acf67312597 b/51/3d2fe007eecdc4dabb8c6d235d5acf67312597
new file mode 100644 (file)
index 0000000..3c611d5
--- /dev/null
@@ -0,0 +1,93 @@
+Return-Path: <bremner@tethera.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 06046429E25\r
+       for <notmuch@notmuchmail.org>; Sun,  4 Dec 2011 07:59:19 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.3\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id vSVKD91vNPzK for <notmuch@notmuchmail.org>;\r
+       Sun,  4 Dec 2011 07:59:18 -0800 (PST)\r
+Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21])\r
+       (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 79E4C429E21\r
+       for <notmuch@notmuchmail.org>; Sun,  4 Dec 2011 07:59:18 -0800 (PST)\r
+Received: from zancas.localnet\r
+       (fctnnbsc36w-156034079193.pppoe-dynamic.High-Speed.nb.bellaliant.net\r
+       [156.34.79.193]) (authenticated bits=0)\r
+       by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id pB4FxF6r006335\r
+       (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO);\r
+       Sun, 4 Dec 2011 11:59:15 -0400\r
+Received: from bremner by zancas.localnet with local (Exim 4.77)\r
+       (envelope-from <bremner@tethera.net>)\r
+       id 1RXETC-0001yp-SL; Sun, 04 Dec 2011 11:59:14 -0400\r
+From: David Bremner <david@tethera.net>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH] test: add test-binaries target\r
+Date: Sun,  4 Dec 2011 11:58:49 -0400\r
+Message-Id: <1323014329-7581-1-git-send-email-david@tethera.net>\r
+X-Mailer: git-send-email 1.7.7.3\r
+Cc: David Bremner <bremner@debian.org>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sun, 04 Dec 2011 15:59:19 -0000\r
+\r
+From: David Bremner <bremner@debian.org>\r
+\r
+The goal here is to have a simple way of making sure all of the\r
+binaries needed to run tests are available.\r
+---\r
+ test/Makefile.local |    5 ++++-\r
+ test/README         |    3 ++-\r
+ 2 files changed, 6 insertions(+), 2 deletions(-)\r
+\r
+diff --git a/test/Makefile.local b/test/Makefile.local\r
+index 646779e..bffbbdb 100644\r
+--- a/test/Makefile.local\r
++++ b/test/Makefile.local\r
+@@ -15,7 +15,10 @@ $(dir)/symbol-test: $(dir)/symbol-test.o\r
+       $(call quiet,CC) $^ -o $@ -Llib -lnotmuch -lxapian\r
\r
+ .PHONY: test check\r
+-test: all $(dir)/smtp-dummy $(dir)/symbol-test\r
++\r
++test-binaries: $(dir)/smtp-dummy $(dir)/symbol-test\r
++\r
++test: all test-binaries\r
+       @${dir}/notmuch-test $(OPTIONS)\r
\r
+ check: test\r
+diff --git a/test/README b/test/README\r
+index 2481f16..2e757e0 100644\r
+--- a/test/README\r
++++ b/test/README\r
+@@ -13,7 +13,8 @@ notmuch-test script). Either command will run all available tests.\r
\r
+ Alternately, you can run a specific subset of tests by simply invoking\r
+ one of the executable scripts in this directory, (such as ./search,\r
+-./reply, etc.)\r
++./reply, etc). Note that you will probably want "make test-binaries"\r
++before running individual tests.\r
\r
+ The following command-line options are available when running tests:\r
\r
+-- \r
+1.7.7.3\r
+\r