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