Re: [PATCH] test: optionally print subtest number

Subject: Re: [PATCH] test: optionally print subtest number

Date: Tue, 13 Dec 2011 14:22:21 -0800

To: David Bremner, notmuch@notmuchmail.org

Cc:

From: Jameson Graef Rollins


On Tue, 13 Dec 2011 15:56:47 -0400, David Bremner <david@tethera.net> 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.
part-000.sig (application/pgp-signature)

Thread: