✅ update test script.
parent
8a930db339
commit
90fe4c9f8e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue