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 72C68429E26 for ; Tue, 13 Dec 2011 15:36:00 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.29 X-Spam-Level: X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] 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 8m13v3bKuB+s for ; Tue, 13 Dec 2011 15:36:00 -0800 (PST) Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu [131.215.239.19]) by olra.theworths.org (Postfix) with ESMTP id 0CC42429E25 for ; Tue, 13 Dec 2011 15:36:00 -0800 (PST) Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1]) by earth-doxen-postvirus (Postfix) with ESMTP id AAD5366E0024; Tue, 13 Dec 2011 15:35:59 -0800 (PST) X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new Received: from finestructure.net (gwave-212.ligo.caltech.edu [131.215.114.212]) (Authenticated sender: jrollins) by earth-doxen-submit (Postfix) with ESMTP id ECD7D66E00D3; Tue, 13 Dec 2011 15:35:55 -0800 (PST) Received: by finestructure.net (Postfix, from userid 1000) id C904A38C; Tue, 13 Dec 2011 18:35:55 -0500 (EST) From: Jameson Graef Rollins To: Dmitry Kurochkin , David Bremner , notmuch@notmuchmail.org Subject: Re: [PATCH] test: optionally print subtest number In-Reply-To: <87hb14ukbc.fsf@gmail.com> References: <1323806207-31888-1-git-send-email-david@tethera.net> <87zkew2jtu.fsf@servo.finestructure.net> <87d3bsjc1z.fsf@zancas.localnet> <87hb14ukbc.fsf@gmail.com> User-Agent: Notmuch/0.10.2+93~ga124635 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Tue, 13 Dec 2011 15:35:53 -0800 Message-ID: <87pqfs2gfa.fsf@servo.finestructure.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; 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: Tue, 13 Dec 2011 23:36:00 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Wed, 14 Dec 2011 03:24:23 +0400, Dmitry Kurochkin wrote: > BTW I have some plans to introduce optional explicit test ids that can > be used for inter-test dependencies. E.g.: >=20 > test_begin_subtest test-id-1 "A subtest" > .... > ;; in another test requre that test-id-1 passed > test_require_subtest test-id-1 Would the required test need to be listed twice, both on the begin_subtest line *and* in the require_subtest line? And again, why would the test id have to be any different that the existing test names? The tests already have names, so I don't understand why we would want to introduce some other kind of identification. Seems like it's just going to add extra confusion. And speaking of which, I sometimes worry that the test infrastructure itself is getting too complicated. Pretty soon we're going to need tests for the tests. I don't necessarily see the need to all of these extra features in the test suite, so I worry that it's just making everything harder to debug. jamie. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJO5+FZAAoJEO00zqvie6q8lhoP/jhjExA5NfqGXGNEuud6+EiH X4UAMav/6kwZYJHV8meAm9QQOsUDUW9gVQY0zrcslu2A+NqWt57eKafCHkQW1yDU 1C63XDlR9pelN2HdFhyzPlfXBTn++MfANZQ+QqXb+y+v1htem3GKszbXIXxPOjn2 A1kjYYSvJAhxYpQ/UrRSGUc4MaCbLRylggRDoqonrGtZCi7hKQh6QErPt1J/iPp3 7dEV71sjQsTfl27OUEGnWIdFKUDRRodqyiV6lbeI2xLNcsKAmXyiI4v31PGs2aH2 3XwpegitBN34Q+GBg/EfAIRyowrdluBCBx9cyB1VMDQF/VLnmjWWngVUwN5x8H55 RjUfu/ze6g8FOiSEzzODF9g8YwQefy00lGs+JUaNgVcCFI1mivdrQcPsE1jV2Pb9 cKcfa+9Mc07+aYgAM1FyiIbnWVgl12kLknW5UYviVpQTb4CsninYeMog2YbZg7Ar EZnoGpN7fzWAsvNd/Usy6dZGPZ2FBgFOajUC54J1Z1VDjFNpjfgG2teFhiNU3aiG tW0TUOxQh1fzDrqsjHiaMAuBfNGYOcJr0+UsXG7mKbe/O6WuTyNEyKi55ph11Xj+ 0ml6DBBbaqSrqVG5JTfxG1y+9DTd/58LSCscO46sE1vL3B6fRaBH3/x3mV117bo+ 3VKbP0Wd4AzVf7lvcFju =PfdM -----END PGP SIGNATURE----- --=-=-=--