test: Print the number of the test along with its name

Previously, we stripped the "Tnnn-" part from the test name when
printing its description at the beginning of each test.  However, this
makes it difficult to find the source script for a test (e.g., when a
test fails).  Put this prefix back.
This commit is contained in:
Austin Clements 2014-03-04 01:40:08 -05:00 committed by David Bremner
parent 735cbb8719
commit 81ede90597

View file

@ -196,7 +196,7 @@ print_test_description ()
{ {
test -z "$test_description_printed" || return 0 test -z "$test_description_printed" || return 0
echo echo
echo $this_test_bare: "Testing ${test_description}" echo $this_test: "Testing ${test_description}"
test_description_printed=1 test_description_printed=1
} }
if [ -z "$NOTMUCH_TEST_QUIET" ] if [ -z "$NOTMUCH_TEST_QUIET" ]