If any of the tests in our test system is not passing the execution
of the test suite completes with nonzero exit value.
It is better to rely on the exit value of the test system instead
of some arbitrary strings in test output (or use both).
fixed=0
success=0
failed=0
fixed=0
success=0
failed=0
tests=$(pluralize "test" $skipped)
echo "$skipped $tests skipped."
fi
tests=$(pluralize "test" $skipped)
echo "$skipped $tests skipped."
fi
+
+if [ $success -gt 0 -a $fixed -eq 0 -a $failed -eq 0 -a $skipped -eq 0 ]
+then
+ exit 0
+else
+ exit 1
+fi
# Report results
./aggregate-results.sh test-results/*
# Report results
./aggregate-results.sh test-results/*
# Clean up
rm -rf test-results corpus.mail
# Clean up
rm -rf test-results corpus.mail