commit - 7cda2f13f48d7cd09df5644c44ed222e81029289
commit + 2254e92e60fbe09da5adef1111ddcd60b7e98252
blob - 8a861716d7d95a0795e09d15b6d11cfd449bb108
blob + 4e28f92542caa65c675b64e24c6c266b4d0f60ba
--- contrib/platformtest.sh
+++ contrib/platformtest.sh
[ -n "$R_CONFIGURE" ] && C="Y" || C="N"
[ -n "$R_MAKE" ] && M="Y" || M="N"
[ -n "$R_CHECK" ] && T="$R_CHECK_Y" || T="N"
-[ -n "$R_RUN" ] && R="Y" || R="N"
+if [ -n "$R_RUN" ]; then
+ # Mark "runs" with "Y" only when the test suite succeeded:
+ [ "$T" = "N" ] && R="?" || R="Y"
+else
+ R="N"
+fi
[ -n "$COMMENT" ] && COMMENT=" $COMMENT"
echo
"$C" "$M" "$T" "$R" "$COMMENT"
fi
echo
+
+double_check() {
+ echo "Please double check that the ngIRCd daemon starts up, runs and handles IRC"
+ echo "connections successfully!"
+}
+
if [ "$R_CHECK_Y" = "y" ]; then
- echo "$NAME: WARNING: Some tests have been skipped!"
+ echo "WARNING: Some tests have been skipped!"
+ double_check
echo
fi
+if [ "$R" = "?" ]; then
+ echo "WARNING: The resulting binary passed simple tests, but the test suite failed!"
+ double_check
+ echo
+fi