Re: [PATCH 1/2] test/test-lib.sh: use $test_subtest_name in all tests

Subject: Re: [PATCH 1/2] test/test-lib.sh: use $test_subtest_name in all tests

Date: Sat, 16 Feb 2013 10:11:15 -0400

To: Tomi Ollila, notmuch@notmuchmail.org

Cc: tomi.ollila@iki.fi

From: David Bremner


Tomi Ollila <tomi.ollila@iki.fi> writes:

> Set the variable '$test_subtest_name' in all functions which starts
> a new test and use that variable in all functions that output
> test results.
>
> Additionally output the latest '$test_subtest_name' in case of
> abnormal exit, to avoid confusion.

The series looks OK to me. The first patch is a bit noisy, but I guess
it results in simpler code.

d

Thread: