Re: [PATCH 10/10] test: use emacsclient(1) for Emacs tests
authorCarl Worth <cworth@cworth.org>
Tue, 28 Jun 2011 22:14:04 +0000 (15:14 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:38:47 +0000 (09:38 -0800)
10/d9f06080bb1c801a6f70bcbda110fd5d2e857e [new file with mode: 0644]

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