diff options
author | Carl Worth <cworth@cworth.org> | 2010-09-20 14:39:40 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-09-20 14:39:40 -0700 |
commit | 341e2bd86e4ed934ae23312779e0b4a0e8c8b4d5 (patch) | |
tree | d5fc06fc63ee1ed705f6376d8eb6c20d1a254333 /test/aggregate-results.sh | |
parent | 49a8cb9de33d17f2ceb091b37c0e00c5a2ba17f5 (diff) |
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.
Diffstat (limited to 'test/aggregate-results.sh')
-rwxr-xr-x | test/aggregate-results.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |