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 9FE48429E5B for ; Tue, 28 Jun 2011 15:22:40 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 ZddAWQk6pYh1 for ; Tue, 28 Jun 2011 15:22:39 -0700 (PDT) Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 95727429E32 for ; Tue, 28 Jun 2011 15:22:39 -0700 (PDT) Received: by bwg12 with SMTP id 12so609496bwg.26 for ; Tue, 28 Jun 2011 15:22:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:in-reply-to:references:user-agent:date:message-id :mime-version:content-type; bh=IZ1P8BnULa4i0FOq7D6b3lazSNgpJqwCnpODM/kty2s=; b=P+Gp2gNF66hdfSKmZhWEayvCEJGqSXxRS7DniMB6FpKzs7se89KDr3CvcOwlbPlVYe gbt56GSM07szs1t/n6ingQ/QvYu5q3Ri7Qwm6gS+6rLt2Xb7BDZLXd6xhEA4vUMjbkTK aVfx19UNg9ekjWqqr/znsIrNcTCECSnzcFnYw= Received: by 10.204.151.204 with SMTP id d12mr58511bkw.127.1309299758242; Tue, 28 Jun 2011 15:22:38 -0700 (PDT) Received: from localhost ([91.144.186.21]) by mx.google.com with ESMTPS id e6sm578959bka.11.2011.06.28.15.22.36 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 28 Jun 2011 15:22:37 -0700 (PDT) From: Dmitry Kurochkin To: Carl Worth , notmuch@notmuchmail.org Subject: Re: [PATCH 10/10] test: use emacsclient(1) for Emacs tests In-Reply-To: <87hb798uz7.fsf@yoom.home.cworth.org> References: <1309236311-2162-1-git-send-email-dmitry.kurochkin@gmail.com> <1309236311-2162-10-git-send-email-dmitry.kurochkin@gmail.com> <87hb798uz7.fsf@yoom.home.cworth.org> User-Agent: Notmuch/0.5-289-ge053759 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Wed, 29 Jun 2011 02:22:31 +0400 Message-ID: <87wrg5wq8o.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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:22:40 -0000 On Tue, 28 Jun 2011 15:14:04 -0700, Carl Worth wrote: > 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. > > 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=text > FAIL decryption, --format=json > FAIL decryption, --format=json, --part=4 > FAIL decrypt attachment (--part=5 --format=raw) > 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? > Ouch. I never saw these. Do you get these in crypto tests only? Regards, Dmitry > Let me know what else I can do to investigate this. > > -Carl > > -- > carl.d.worth@intel.com