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 F0EEC429E26 for ; Tue, 13 Dec 2011 14:22:34 -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 VFKWGvk9ZUSq for ; Tue, 13 Dec 2011 14:22:34 -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 7B288429E25 for ; Tue, 13 Dec 2011 14:22:34 -0800 (PST) Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1]) by earth-doxen-postvirus (Postfix) with ESMTP id A463A66E003A; Tue, 13 Dec 2011 14:22:29 -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 C4E4566E0024; Tue, 13 Dec 2011 14:22:23 -0800 (PST) Received: by finestructure.net (Postfix, from userid 1000) id 8D90A38C; Tue, 13 Dec 2011 17:22:23 -0500 (EST) From: Jameson Graef Rollins To: David Bremner , notmuch@notmuchmail.org Subject: Re: [PATCH] test: optionally print subtest number In-Reply-To: <1323806207-31888-1-git-send-email-david@tethera.net> References: <1323806207-31888-1-git-send-email-david@tethera.net> 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 14:22:21 -0800 Message-ID: <87zkew2jtu.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 22:22:35 -0000 --=-=-= On Tue, 13 Dec 2011 15:56:47 -0400, David Bremner wrote: > The idea is that $test_count could be used in tests to label > intermediate files. The output enabled by this patch (and --debug) > helps figure out which OUTPUT.nn file belongs to which test in case > several subtests write to OUTPUT.$test_count I've only been vaguely following this "test count" stuff, but I'm not sure I understand what's the point of giving tests a number that is ultimately mutable. Why not just label things by the test name, instead of the count? That wouldn't require keeping track of number/name mapping, which will change over time. jamie. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJO59AdAAoJEO00zqvie6q8MaoP/1IDvjFiFmaC0ejWJLBxSMX2 eVV6zEAk9Ee3kD13PeJu6tpfvLTYeuEK0IQviozAqGuLtyfRAJ4lMamaP7TFvYc6 qy9868pdolfgOeJyig0rMA7xuZOFlkN/oHzMie/J6MqeAy2YpYspn8QtaNEcpkd2 Dd9B0H/AORE6k421DoDh/VZiy4+E6vC8NiL2tB7fb/glpmSOqP9/2utcDWF0aUea uInaH5iPFWnSaBUqA8dZcNcIo8IzPqBla3hbvB8ddimV6I5U05yAZOBKYS80b23T Z5QvoJR4eWXZWm8i3k6jspPt/KH0WMoAfB/RNKTLGj/yJ1GN7K0kit2fConrbGOz +ckN2RGwpknVgoWwtPLVSR28K+uRbxXbzEA53/fdS9ofpE1mPMq1Us3gldJKzoYD DQHb1cJP5w5O0QdNc8xaTULHH6g5ovoiJWQawk6O38rtIH5xmnISmrUsdfH+UGtJ u6I9uJJkW2J0+CSGloz0wh+OwT2vzeR6h1r63ER5a7quRDQd1CKhvjRRkH4P0mOw 8pYRqReEedLocMiKk9vI14W9VF/9hUrt9OA/xoqw2RNh1IXbtoRtTaPbzMWTqZNH GRujclVBz8720pvl6i10uEqIsJJgjG1At4lDHnN2JSdr0ygHgzYXfGKbuHeSw0lR slwQXwl2koi0tmGGXext =mc1b -----END PGP SIGNATURE----- --=-=-=--