From: Austin Clements Date: Tue, 4 Mar 2014 06:40:08 +0000 (-0500) Subject: test: Print the number of the test along with its name X-Git-Tag: 0.18_rc0~117 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=81ede90597cb35ea66d473a50c355fe77ee585fe 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. --- diff --git a/test/test-lib.sh b/test/test-lib.sh index 78af170f..9dad1265 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -196,7 +196,7 @@ print_test_description () { test -z "$test_description_printed" || return 0 echo - echo $this_test_bare: "Testing ${test_description}" + echo $this_test: "Testing ${test_description}" test_description_printed=1 } if [ -z "$NOTMUCH_TEST_QUIET" ]