summaryrefslogtreecommitdiffstats
path: root/menu/tests/menutest
diff options
context:
space:
mode:
Diffstat (limited to 'menu/tests/menutest')
-rwxr-xr-xmenu/tests/menutest9
1 files changed, 8 insertions, 1 deletions
diff --git a/menu/tests/menutest b/menu/tests/menutest
index d164f26..33dd4b8 100755
--- a/menu/tests/menutest
+++ b/menu/tests/menutest
@@ -82,6 +82,7 @@ for TEST in ${TESTS}; do
fi
done
+
echo "OK tests: ${SUCCEEDED}"
if ! test -z "${FAILED}" ; then
@@ -89,4 +90,10 @@ if ! test -z "${FAILED}" ; then
exit 1
fi
-exit 0
+echo `echo ${SUCCEEDED} | wc -w`' tests passed, '`echo ${FAILED} | wc -w`' tests failed'
+
+if test -z "${FAILED}" ; then
+ exit 0
+else
+ exit 1
+fi