Re: [PATCH] test: do not hide test_emacs errors
authorTomi Ollila <tomi.ollila@iki.fi>
Sat, 12 Nov 2011 17:49:29 +0000 (19:49 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:40:06 +0000 (09:40 -0800)
d3/fd522be0795f9ad43d6b6aa56b30524ad35399 [new file with mode: 0644]

diff --git a/d3/fd522be0795f9ad43d6b6aa56b30524ad35399 b/d3/fd522be0795f9ad43d6b6aa56b30524ad35399
new file mode 100644 (file)
index 0000000..8248c5c
--- /dev/null
@@ -0,0 +1,77 @@
+Return-Path: <tomi.ollila@nixu.com>\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 C3060429E25\r
+       for <notmuch@notmuchmail.org>; Sat, 12 Nov 2011 09:49:34 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       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 7dAe14iPuIWd for <notmuch@notmuchmail.org>;\r
+       Sat, 12 Nov 2011 09:49:34 -0800 (PST)\r
+Received: from taco2.nixu.fi (taco2.nixu.fi [194.197.118.31])\r
+       (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id DC893431FB6\r
+       for <notmuch@notmuchmail.org>; Sat, 12 Nov 2011 09:49:33 -0800 (PST)\r
+Received: from taco2.nixu.fi (taco2.nixu.fi [194.197.118.31])\r
+       by taco2.nixu.fi (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id\r
+       pACHnTrX027443; Sat, 12 Nov 2011 19:49:29 +0200\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: David Bremner <david@tethera.net>,\r
+       Dmitry Kurochkin <dmitry.kurochkin@gmail.com>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] test: do not hide test_emacs errors\r
+In-Reply-To: <87mxc1mlqm.fsf@rocinante.cs.unb.ca>\r
+References: <1309487028-18786-1-git-send-email-dmitry.kurochkin@gmail.com>\r
+       <87mxc1mlqm.fsf@rocinante.cs.unb.ca>\r
+User-Agent: Notmuch/0.9+23~g556c5fa (http://notmuchmail.org) Emacs/23.3.1\r
+       (i686-pc-linux-gnu)\r
+X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
+       $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
+       !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
+Date: Sat, 12 Nov 2011 19:49:29 +0200\r
+Message-ID: <yf662ipi63a.fsf@taco2.nixu.fi>\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: Sat, 12 Nov 2011 17:49:34 -0000\r
+\r
+On Sat, 12 Nov 2011 09:57:53 -0500, David Bremner <david@tethera.net> wrote:\r
+> On Fri,  1 Jul 2011 06:23:48 +0400, Dmitry Kurochkin <dmitry.kurochkin@gmail.com> wrote:\r
+> > Do not redirect test_emacs stderr to /dev/null.  Test_emacs uses\r
+> > emacsclient(1) now and it does not print unwanted messages (like\r
+> > those from `message') to stderr.  But it does print useful\r
+> > errors, e.g. when emacs server connection fails, given expression\r
+> > is not valid or undefined function is called.\r
+> \r
+> Is this patch still relevant now that we use dtach to run the tests?\r
+\r
+I think this is. running test_emacs may output useful information in\r
+cases test fails (or when initially failing to launc emacs server).\r
+Normally it doesn't seem to output anything -- and therefore the\r
+redirections to /dev/null are not needed.\r
+\r
+> I didn't notice any difference, but maybe I was not supposed to.\r
+\r
+Me neither.\r
+\r
+> \r
+> d\r
+\r
+Tomi\r