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 4A69A429E55 for ; Tue, 28 Jun 2011 15:14:18 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.01 X-Spam-Level: X-Spam-Status: No, score=0.01 tagged_above=-999 required=5 tests=[T_MIME_NO_TEXT=0.01] 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 2Btdm2hnqygN for ; Tue, 28 Jun 2011 15:14:18 -0700 (PDT) Received: from arlo.cworth.org (arlo.cworth.org [50.43.72.2]) by olra.theworths.org (Postfix) with ESMTP id D9519429E32 for ; Tue, 28 Jun 2011 15:14:17 -0700 (PDT) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id B469229A608; Tue, 28 Jun 2011 15:14:16 -0700 (PDT) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id 8FEF02541A8; Tue, 28 Jun 2011 15:14:16 -0700 (PDT) From: Carl Worth To: Dmitry Kurochkin , notmuch@notmuchmail.org Subject: Re: [PATCH 10/10] test: use emacsclient(1) for Emacs tests In-Reply-To: <1309236311-2162-10-git-send-email-dmitry.kurochkin@gmail.com> References: <1309236311-2162-1-git-send-email-dmitry.kurochkin@gmail.com> <1309236311-2162-10-git-send-email-dmitry.kurochkin@gmail.com> User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.3.1 (i486-pc-linux-gnu) Date: Tue, 28 Jun 2011 15:14:04 -0700 Message-ID: <87hb798uz7.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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: Tue, 28 Jun 2011 22:14:18 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Tue, 28 Jun 2011 08:45:11 +0400, Dmitry Kurochkin wrote: > Before the change, every Emacs test ran in a separate Emacs > instance. Starting Emacs many times wastes considerable time and > it gets worse as the test suite grows. The patch solves this by > using a single Emacs server and emacsclient(1) to run multiple > tests.=20 Great, great stuff, Dmitry! I've pushed everything earlier than this patch in this series. And I'd be fine pushing this one as well, (if Austin cares strongly about not polling, I'll invite him to improve things from here). Except that things don't actually work for me with this patch applied. I'm not getting consistent results from the test suite, (I have seen both "2 tests failed" and "5 tests failed"). Here are the failures from a recent run with 5 failures: FAIL decryption, --format=3Dtext FAIL decryption, --format=3Djson FAIL decryption, --format=3Djson, --part=3D4 FAIL decrypt attachment (--part=3D5 --format=3Draw) FAIL decryption failure with missing key In each case the actual output was either empty, or an empty JSON array. In some cases notmuch also gave an error: Error: search term did not match precisely one message. Are you not getting these same failures? Let me know what else I can do to investigate this. =2DCarl =2D-=20 carl.d.worth@intel.com --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk4KUiwACgkQ6JDdNq8qSWiJYwCfUR4OzM5baeyxuMzs2z89cnNE pVAAni4NLS6eg2JLCBqED7z1eeWLbVBb =PB91 -----END PGP SIGNATURE----- --=-=-=--