diff --git a/tests/acceptances/run.sh b/tests/acceptances/run.sh index 077c1f8..3f1487e 100755 --- a/tests/acceptances/run.sh +++ b/tests/acceptances/run.sh @@ -14,8 +14,6 @@ do TRACE="$(roza $file 2>&1)" RES=$? - # echo -en "\e[33m$file\e[0m ... " - if [ $RES -ne 0 ] then echo @@ -32,14 +30,7 @@ do TOTAL=$(($TOTAL + 1)) done -echo - -if [ $PASSED -eq $TOTAL ] -then - echo -e "\e[32m$H All tests passed $H\e[0m" -else - echo -e "\e[31m$H Some tests failed $H\e[0m" -fi +echo -e "\e[33m$H SUMMARY $H\e[0m" echo "PASSED: $PASSED" for ok in $PASSED_LST @@ -57,3 +48,10 @@ done echo echo "TOTAL: $TOTAL" + +if [ $PASSED -eq $TOTAL ] +then + echo -e "\e[32m$H All tests passed $H\e[0m" +else + echo -e "\e[31m$H Some tests failed $H\e[0m" +fi