✅ update test script.
parent
8a930db339
commit
90fe4c9f8e
|
@ -14,8 +14,6 @@ do
|
||||||
TRACE="$(roza $file 2>&1)"
|
TRACE="$(roza $file 2>&1)"
|
||||||
RES=$?
|
RES=$?
|
||||||
|
|
||||||
# echo -en "\e[33m$file\e[0m ... "
|
|
||||||
|
|
||||||
if [ $RES -ne 0 ]
|
if [ $RES -ne 0 ]
|
||||||
then
|
then
|
||||||
echo
|
echo
|
||||||
|
@ -32,14 +30,7 @@ do
|
||||||
TOTAL=$(($TOTAL + 1))
|
TOTAL=$(($TOTAL + 1))
|
||||||
done
|
done
|
||||||
|
|
||||||
echo
|
echo -e "\e[33m$H SUMMARY $H\e[0m"
|
||||||
|
|
||||||
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 "PASSED: $PASSED"
|
echo "PASSED: $PASSED"
|
||||||
for ok in $PASSED_LST
|
for ok in $PASSED_LST
|
||||||
|
@ -57,3 +48,10 @@ done
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "TOTAL: $TOTAL"
|
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