Re: [PATCH] test: optionally print subtest number
authorJameson Graef Rollins <jrollins@finestructure.net>
Tue, 13 Dec 2011 22:22:21 +0000 (14:22 +1600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:40:49 +0000 (09:40 -0800)
9d/7758d0a96b36e9ed69acd102f16b838ed15bf5 [new file with mode: 0644]

diff --git a/9d/7758d0a96b36e9ed69acd102f16b838ed15bf5 b/9d/7758d0a96b36e9ed69acd102f16b838ed15bf5
new file mode 100644 (file)
index 0000000..55319ca
--- /dev/null
@@ -0,0 +1,92 @@
+Return-Path: <jrollins@finestructure.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id F0EEC429E26\r
+       for <notmuch@notmuchmail.org>; Tue, 13 Dec 2011 14:22:34 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.29\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id VFKWGvk9ZUSq for <notmuch@notmuchmail.org>;\r
+       Tue, 13 Dec 2011 14:22:34 -0800 (PST)\r
+Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
+       [131.215.239.19])\r
+       by olra.theworths.org (Postfix) with ESMTP id 7B288429E25\r
+       for <notmuch@notmuchmail.org>; Tue, 13 Dec 2011 14:22:34 -0800 (PST)\r
+Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
+       by earth-doxen-postvirus (Postfix) with ESMTP id A463A66E003A;\r
+       Tue, 13 Dec 2011 14:22:29 -0800 (PST)\r
+X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
+Received: from finestructure.net (gwave-212.ligo.caltech.edu\r
+ [131.215.114.212])    (Authenticated sender: jrollins)        by earth-doxen-submit\r
+ (Postfix) with ESMTP id C4E4566E0024; Tue, 13 Dec 2011 14:22:23 -0800 (PST)\r
+Received: by finestructure.net (Postfix, from userid 1000)\r
+       id 8D90A38C; Tue, 13 Dec 2011 17:22:23 -0500 (EST)\r
+From: Jameson Graef Rollins <jrollins@finestructure.net>\r
+To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] test: optionally print subtest number\r
+In-Reply-To: <1323806207-31888-1-git-send-email-david@tethera.net>\r
+References: <1323806207-31888-1-git-send-email-david@tethera.net>\r
+User-Agent: Notmuch/0.10.2+93~ga124635 (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Tue, 13 Dec 2011 14:22:21 -0800\r
+Message-ID: <87zkew2jtu.fsf@servo.finestructure.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha256; protocol="application/pgp-signature"\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 13 Dec 2011 22:22:35 -0000\r
+\r
+--=-=-=\r
+\r
+On Tue, 13 Dec 2011 15:56:47 -0400, David Bremner <david@tethera.net> wrote:\r
+> The idea is that $test_count could be used in tests to label\r
+> intermediate files. The output enabled by this patch (and --debug)\r
+> helps figure out which OUTPUT.nn file belongs to which test in case\r
+> several subtests write to OUTPUT.$test_count\r
+\r
+I've only been vaguely following this "test count" stuff, but I'm not\r
+sure I understand what's the point of giving tests a number that is\r
+ultimately mutable.  Why not just label things by the test name, instead\r
+of the count?  That wouldn't require keeping track of number/name\r
+mapping, which will change over time.\r
+\r
+jamie.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.11 (GNU/Linux)\r
+\r
+iQIcBAEBCAAGBQJO59AdAAoJEO00zqvie6q8MaoP/1IDvjFiFmaC0ejWJLBxSMX2\r
+eVV6zEAk9Ee3kD13PeJu6tpfvLTYeuEK0IQviozAqGuLtyfRAJ4lMamaP7TFvYc6\r
+qy9868pdolfgOeJyig0rMA7xuZOFlkN/oHzMie/J6MqeAy2YpYspn8QtaNEcpkd2\r
+Dd9B0H/AORE6k421DoDh/VZiy4+E6vC8NiL2tB7fb/glpmSOqP9/2utcDWF0aUea\r
+uInaH5iPFWnSaBUqA8dZcNcIo8IzPqBla3hbvB8ddimV6I5U05yAZOBKYS80b23T\r
+Z5QvoJR4eWXZWm8i3k6jspPt/KH0WMoAfB/RNKTLGj/yJ1GN7K0kit2fConrbGOz\r
++ckN2RGwpknVgoWwtPLVSR28K+uRbxXbzEA53/fdS9ofpE1mPMq1Us3gldJKzoYD\r
+DQHb1cJP5w5O0QdNc8xaTULHH6g5ovoiJWQawk6O38rtIH5xmnISmrUsdfH+UGtJ\r
+u6I9uJJkW2J0+CSGloz0wh+OwT2vzeR6h1r63ER5a7quRDQd1CKhvjRRkH4P0mOw\r
+8pYRqReEedLocMiKk9vI14W9VF/9hUrt9OA/xoqw2RNh1IXbtoRtTaPbzMWTqZNH\r
+GRujclVBz8720pvl6i10uEqIsJJgjG1At4lDHnN2JSdr0ygHgzYXfGKbuHeSw0lR\r
+slwQXwl2koi0tmGGXext\r
+=mc1b\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r