projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49a8cb9
)
test: Fix to actually report errors (!).
author
Carl Worth
<cworth@cworth.org>
Mon, 20 Sep 2010 21:39:40 +0000
(14:39 -0700)
committer
Carl Worth
<cworth@cworth.org>
Mon, 20 Sep 2010 21:39:40 +0000
(14:39 -0700)
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
patch
|
blob
|
history
diff --git
a/test/aggregate-results.sh
b/test/aggregate-results.sh
index cc5b83fbaac9a3b6980341fd2e62d9cab24c98cb..0f1ea332b3e8b7800e644851cfdcce6b7c258d45 100755
(executable)
--- 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