mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
test: print test description also for failing known broken tests
With the test description, the user can see the test script name, and debug with that alone.
This commit is contained in:
parent
4e872c64e1
commit
740f3296b8
1 changed files with 1 additions and 1 deletions
|
@ -851,12 +851,12 @@ test_ok_ () {
|
|||
}
|
||||
|
||||
test_failure_ () {
|
||||
print_test_description
|
||||
if test "$test_subtest_known_broken_" = "t"; then
|
||||
test_known_broken_failure_ "$@"
|
||||
return
|
||||
fi
|
||||
test_failure=$(($test_failure + 1))
|
||||
print_test_description
|
||||
test_failure_message_ "FAIL" "$test_subtest_name" "$@"
|
||||
test "$immediate" = "" || { GIT_EXIT_OK=t; exit 1; }
|
||||
return 1
|
||||
|
|
Loading…
Reference in a new issue