mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
test: Fix to actually report errors (!).
A bug in the results-aggregation code was causing the test suite to report "all tests passed" even when there were failures, (as long as there were also no "broken" tests). Fix this.
This commit is contained in:
parent
49a8cb9de3
commit
341e2bd86e
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ pluralize () {
|
|||
}
|
||||
|
||||
echo "Notmuch test suite complete."
|
||||
if [ "$fixed" = "0" ] && [ "$broken" = "0" ]; then
|
||||
if [ "$fixed" = "0" ] && [ "$failed" = "0" ]; then
|
||||
tests=$(pluralize "test" $total)
|
||||
printf "All $total $tests "
|
||||
if [ "$broken" = "0" ]; then
|
||||
|
|
Loading…
Reference in a new issue