From 341e2bd86e4ed934ae23312779e0b4a0e8c8b4d5 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Mon, 20 Sep 2010 14:39:40 -0700 Subject: [PATCH] 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. --- test/aggregate-results.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/aggregate-results.sh b/test/aggregate-results.sh index cc5b83fb..0f1ea332 100755 --- a/test/aggregate-results.sh +++ b/test/aggregate-results.sh @@ -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 -- 2.43.0