aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Austin Clements <amdragon@MIT.EDU>2014-03-04 01:40:08 -0500
committerGravatar David Bremner <david@tethera.net>2014-03-06 07:46:48 -0400
commit81ede90597cb35ea66d473a50c355fe77ee585fe (patch)
treea0cee95ea6207b979252b3169524a9ea810f9e26 /test
parent735cbb8719068c4741ed0a4f5ea68f2ed31b7009 (diff)
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.
Diffstat (limited to 'test')
-rw-r--r--test/test-lib.sh2
1 files changed, 1 insertions, 1 deletions
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" ]