Re: [PATCH 2/2] test: Have notmuch-test use the modular test collections
authorJesse Rosenthal <jrosenthal@jhu.edu>
Wed, 5 May 2010 04:46:51 +0000 (00:46 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:37:01 +0000 (09:37 -0800)
65/a9bd1bd57d81ea66acfb496754c7b499a721ae [new file with mode: 0644]

diff --git a/65/a9bd1bd57d81ea66acfb496754c7b499a721ae b/65/a9bd1bd57d81ea66acfb496754c7b499a721ae
new file mode 100644 (file)
index 0000000..e61e1cd
--- /dev/null
@@ -0,0 +1,72 @@
+Return-Path: <prvs=jrosenthal=734039cbd@jhu.edu>\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 7B4314196F0\r
+       for <notmuch@notmuchmail.org>; Tue,  4 May 2010 21:46:52 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -1.5\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-1.5 tagged_above=-999 required=5\r
+       tests=[BAYES_50=0.8, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham\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 eEPvTmGlqxS4 for <notmuch@notmuchmail.org>;\r
+       Tue,  4 May 2010 21:46:51 -0700 (PDT)\r
+Received: from ipex1.johnshopkins.edu (ipex1.johnshopkins.edu [162.129.8.141])\r
+       by olra.theworths.org (Postfix) with ESMTP id 6F024431FC1\r
+       for <notmuch@notmuchmail.org>; Tue,  4 May 2010 21:46:51 -0700 (PDT)\r
+X-IronPort-AV: E=Sophos;i="4.52,331,1270440000"; d="scan'208";a="321179574"\r
+Received: from c-69-255-36-229.hsd1.md.comcast.net (HELO lucky)\r
+       ([69.255.36.229])\r
+       by ipex1.johnshopkins.edu with ESMTP/TLS/AES256-SHA;\r
+       05 May 2010 00:46:50 -0400\r
+Received: from jkr by lucky with local (Exim 4.71)\r
+       (envelope-from <jrosenthal@jhu.edu>)\r
+       id 1O9WVX-0003DI-Qs; Wed, 05 May 2010 00:46:51 -0400\r
+From: Jesse Rosenthal <jrosenthal@jhu.edu>\r
+To: Notmuch developer list <notmuch@notmuchmail.org>\r
+Subject: Re: [PATCH 2/2] test: Have notmuch-test use the modular test\r
+       collections\r
+In-Reply-To: <87fx2cdagi.fsf@jhu.edu>\r
+References: <87sk6cdbxz.fsf@jhu.edu> <87iq78daii.fsf@jhu.edu>\r
+       <87fx2cdagi.fsf@jhu.edu>\r
+User-Agent: Notmuch/0.3.1-18-g688e1e7 (http://notmuchmail.org) Emacs/23.1.1\r
+       (i486-pc-linux-gnu)\r
+Date: Wed, 05 May 2010 00:46:51 -0400\r
+Message-ID: <87k4rjgdl0.fsf@jhu.edu>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\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: Wed, 05 May 2010 04:46:52 -0000\r
+\r
+These two patches, it turns out, do not quite go all the way -- they do\r
+not set up the environment to be exactly as it was in the full test\r
+suite. (I discovered this because my modular test suite did not fail on\r
+the recent xapian error -- failure being success in this case.)\r
+\r
+Further patches, which will be sent tomorrow, will take care of this in\r
+a very naive way: essentially repeating all the steps from the original\r
+suite up to each set of tests -- this means, of course, that the full\r
+test suite will take longer to run, since it will have to recreate the\r
+nm database for each collection. It's still quick enough though, and\r
+this can be improved if we change the expected results for each tests to\r
+conform to more uniquely tailored setups, instead of the leftovers from\r
+previous tests.\r
+\r
+Best,\r
+Jesse\r
+\r
+\r