diff options
Diffstat (limited to 'menu/tests/menutest')
-rwxr-xr-x | menu/tests/menutest | 9 |
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 |