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 64F90431FB6 for ; Mon, 16 Jan 2012 09:11:36 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[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 W0sGQrccg5FZ for ; Mon, 16 Jan 2012 09:11:35 -0800 (PST) Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id AFBA2431FAF for ; Mon, 16 Jan 2012 09:11:35 -0800 (PST) Received: by werb13 with SMTP id b13so23976wer.26 for ; Mon, 16 Jan 2012 09:11:34 -0800 (PST) Received: by 10.216.135.86 with SMTP id t64mr1924924wei.0.1326733894351; Mon, 16 Jan 2012 09:11:34 -0800 (PST) Received: from hotblack-desiato.hh.sledj.net (host81-149-164-25.in-addr.btopenworld.com. [81.149.164.25]) by mx.google.com with ESMTPS id 28sm23039807wby.3.2012.01.16.09.11.32 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 16 Jan 2012 09:11:33 -0800 (PST) Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000) id 3EB9EA0397; Mon, 16 Jan 2012 17:11:31 +0000 (GMT) To: notmuch@notmuchmail.org Subject: Re: [PATCH 1/2] test: Add "test_expect_emacs_t" to assist with emacs testing. In-Reply-To: <1326732453-23377-1-git-send-email-dme@dme.org> References: <1326732453-23377-1-git-send-email-dme@dme.org> User-Agent: Notmuch/0.11+64~g42e8f66 (http://notmuchmail.org) Emacs/24.0.92.1 (x86_64-pc-linux-gnu) From: David Edmondson Date: Mon, 16 Jan 2012 17:11:30 +0000 Message-ID: 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: Mon, 16 Jan 2012 17:11:36 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I asked for feedback on the approach of implementing tests in .el[1] and got only positive feedback (well, only one bit of feedback at all). Here are some simpler tests implemented using this approach, trying to address the concerns about seeing what failed. The test output is now something like: PASS notmuch-show-clean-address 1 PASS notmuch-show-clean-address 2 FAIL notmuch-show-clean-address 3 Expect: "=D0=94=D0=91 " Output: "db-uknot@stop.me.uk" Expect: "foo (at home) " Output: "foo " Expect: "foo [at home] " Output: "foo at home " Expect: "Foo Bar" Output: nil Obviously the first two tests passed and the third failed. Footnotes:=20 [1] id:"cunmxabqs6k.fsf@hotblack-desiato.hh.sledj.net" --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk8UWkMACgkQaezQq/BJZRaDrwCfeuZoRFciLi0T3qHM54ARpfFe L5MAn0ZC5LNIoCzzcM9yVH+V3UmG8hYF =Hwe4 -----END PGP SIGNATURE----- --=-=-=--