1 Return-Path: <xma@gnu.org>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id AEE7E429E54
\r
6 for <notmuch@notmuchmail.org>; Mon, 23 Jan 2012 11:09:04 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=1.463 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, RDNS_DYNAMIC=0.363, TO_NO_BRKTS_DYNIP=1]
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id AuYHTjpjT6Ev for <notmuch@notmuchmail.org>;
\r
17 Mon, 23 Jan 2012 11:09:04 -0800 (PST)
\r
18 Received: from xhlj.maillard.im (cha51-3-88-164-105-66.fbx.proxad.net
\r
20 by olra.theworths.org (Postfix) with ESMTP id ED34C429E21
\r
21 for <notmuch@notmuchmail.org>; Mon, 23 Jan 2012 11:09:03 -0800 (PST)
\r
22 Received: from xhlj.maillard.im (xhlj.maillard.im [127.0.0.1])
\r
23 by xhlj.maillard.im (Postfix) with ESMTP id 9CA4A20640;
\r
24 Mon, 23 Jan 2012 20:08:59 +0100 (CET)
\r
25 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=maillard.im; h=from:to
\r
26 :subject:in-reply-to:references:reply-to:date:message-id
\r
27 :mime-version:content-type; s=postfix; bh=deRSc7y3N3auj7kYbY4ZrH
\r
28 eaB1A=; b=qi5CATyeGHnFcv7cKk4LmaTTDA5wwdW9oI0BlSHlH6LjMKhR/WzoSk
\r
29 I1nlp9Het4Fc9V4Ggoqvi2XcaWExTHhJ6VhTPhK4WqphdzVBhGGRVP33z5PwtyQ7
\r
30 znrpD1AV2E36i2olWJxD6PC7k5P7Q86LwD/qP87TCMbfckP2Zopp8=
\r
31 DomainKey-Signature: a=rsa-sha1; c=nofws; d=maillard.im; h=from:to
\r
32 :subject:in-reply-to:references:reply-to:date:message-id
\r
33 :mime-version:content-type; q=dns; s=postfix; b=zlaEHU7Vnd97yf7w
\r
34 I9vPORpC8pHYIfO6PwxyWb/C/6ia9KTNk5ot1yEgIIWxH6YKdjZ9aQFqWssLcnrl
\r
35 9I/6/Vp31s+HNxHHgp2JGy8Laqy6dorViGa9JzXGCQnKS2ea0O7IvjpQroisZUM8
\r
36 dpVRvGM0yhk6GnsXhpGJVBZUx4U=
\r
37 Received: from maillard.im (cha51-3-88-164-105-66.fbx.proxad.net
\r
39 (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
\r
40 (No client certificate requested)
\r
41 by xhlj.maillard.im (Postfix) with ESMTPSA;
\r
42 Mon, 23 Jan 2012 20:08:59 +0100 (CET)
\r
43 From: Xavier Maillard <xavier@maillard.im>
\r
44 To: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>, notmuch@notmuchmail.org
\r
45 Subject: Re: [PATCH 10/10] test: use emacsclient(1) for Emacs tests
\r
46 In-Reply-To: <1309236311-2162-10-git-send-email-dmitry.kurochkin@gmail.com>
\r
47 References: <1309236311-2162-1-git-send-email-dmitry.kurochkin@gmail.com>
\r
48 <1309236311-2162-10-git-send-email-dmitry.kurochkin@gmail.com>
\r
49 User-Agent: Notmuch/0.11 (http://notmuchmail.org) Emacs/23.2.1
\r
50 (i486-slackware-linux-gnu)
\r
51 Date: Mon, 23 Jan 2012 20:08:59 +0100
\r
52 Message-ID: <m27h0i2q44.fsf@kcals.intra.maillard.im>
\r
54 Content-Type: text/plain; charset=us-ascii
\r
55 X-BeenThere: notmuch@notmuchmail.org
\r
56 X-Mailman-Version: 2.1.13
\r
58 Reply-To: Xavier Maillard <xma@gnu.org>
\r
59 List-Id: "Use and development of the notmuch mail system."
\r
60 <notmuch.notmuchmail.org>
\r
61 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
62 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
63 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
64 List-Post: <mailto:notmuch@notmuchmail.org>
\r
65 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
66 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
67 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
68 X-List-Received-Date: Mon, 23 Jan 2012 19:09:04 -0000
\r
70 On Tue, 28 Jun 2011 08:45:11 +0400, Dmitry Kurochkin <dmitry.kurochkin@gmail.com> wrote:
\r
71 > Before the change, every Emacs test ran in a separate Emacs
\r
72 > instance. Starting Emacs many times wastes considerable time and
\r
73 > it gets worse as the test suite grows. The patch solves this by
\r
74 > using a single Emacs server and emacsclient(1) to run multiple
\r
75 > tests. Emacs server is started on the first test_emacs call and
\r
76 > stopped when test_done is called. We take care not to leave
\r
77 > orphan Emacs processes behind when test is terminated by whatever
\r
78 > reason: Emacs server runs a watchdog that periodically checks
\r
79 > that the test is still running.
\r
81 > Some tests need to provide user input. Before the change, this
\r
82 > was done using echo(1) to Emacs stdin. This no longer works and
\r
83 > instead `standard-input' variable is set accordingly to make
\r
84 > `read' return the appropriate string.
\r
86 I really like this too.
\r