Merge branch 'sg/show-failed-test-names'
The first line of verbose output from each test piece now carries the test name and number to help scanning with eyeballs. * sg/show-failed-test-names: tests: show the test name and number at the start of verbose output t0000-basic: use realistic test script names in the verbose tests
This commit is contained in:
@ -580,7 +580,7 @@ test_expect_failure () {
|
||||
export test_prereq
|
||||
if ! test_skip "$@"
|
||||
then
|
||||
say >&3 "checking known breakage: $2"
|
||||
say >&3 "checking known breakage of $TEST_NUMBER.$test_count '$1': $2"
|
||||
if test_run_ "$2" expecting_failure
|
||||
then
|
||||
test_known_broken_ok_ "$1"
|
||||
@ -600,7 +600,7 @@ test_expect_success () {
|
||||
export test_prereq
|
||||
if ! test_skip "$@"
|
||||
then
|
||||
say >&3 "expecting success: $2"
|
||||
say >&3 "expecting success of $TEST_NUMBER.$test_count '$1': $2"
|
||||
if test_run_ "$2"
|
||||
then
|
||||
test_ok_ "$1"
|
||||
|
Reference in New Issue
Block a user