--- /dev/null
+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 arlo.cworth.org (Postfix) with ESMTP id 02A476DE1638\r
+ for <notmuch@notmuchmail.org>; Fri, 29 Jan 2016 03:53:34 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.308\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.308 tagged_above=-999 required=5 tests=[AWL=0.243,\r
+ RP_MATCHES_RCVD=-0.55, SPF_PASS=-0.001] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id 11EE32Z0w0n1 for <notmuch@notmuchmail.org>;\r
+ Fri, 29 Jan 2016 03:53:32 -0800 (PST)\r
+Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 2BA866DE014A\r
+ for <notmuch@notmuchmail.org>; Fri, 29 Jan 2016 03:53:32 -0800 (PST)\r
+Received: from remotemail by fethera.tethera.net with local (Exim 4.84)\r
+ (envelope-from <bremner@tethera.net>) id 1aP7bf-0001vJ-Rk\r
+ for notmuch@notmuchmail.org; Fri, 29 Jan 2016 06:52:51 -0500\r
+Received: (nullmailer pid 5653 invoked by uid 1000);\r
+ Fri, 29 Jan 2016 11:53:30 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: notmuch@notmuchmail.org\r
+Subject: update test suite for xapian 1.3\r
+Date: Fri, 29 Jan 2016 07:53:10 -0400\r
+Message-Id: <1454068393-5406-1-git-send-email-david@tethera.net>\r
+X-Mailer: git-send-email 2.6.4\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://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: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 29 Jan 2016 11:53:34 -0000\r
+\r
+Without these patches, only two tests fail. Both fixes are fairly\r
+trivial. According to Olly the behviour of xapian 1.3.4 of throwing an\r
+exception rather than optimising away a giant term is a bug, but it is\r
+easy to work around since we aren't really interested in giant terms\r
+per se in the test, just long query strings.\r
+\r
+To test this on Debian\r
+\r
+apt-get install -t experimental libxapian-dev\r
+XAPIAN_CONFIG=xapian-config-1.3 ./configure\r
+make test\r
+\r
+Currently the libxapian-dev packages are not coinstallable (although\r
+the actual libraries are). But downgrading back to stretch version\r
+worked fine for me.\r
+\r
+\r
+\r
+\r