Revision 2f46906f4bf278e20f3a137b4c1d16c37db7cc0d authored by Hélio Guilherme on 11 June 2023, 01:05:09 UTC, committed by GitHub on 11 June 2023, 01:05:09 UTC
* Increase unit tests, fix 2 issues * Increases tests. One test fails with invoke but not with PyCharm * Try to fix running all tests (no success) * Improve code and unit tests * Increase unit tests, fix 2 issues * Increases tests. One test fails with invoke but not with PyCharm * Try to fix running all tests (no success) * Improve code and unit tests * Prepare release of 2.0.6 * Change http to https
1 parent a3b99db
test_all.sh
#!/usr/bin/sh
export PYTHONPATH=/home/helio/github/RIDE/utest/:$PYTHONPATH
export PYTHONPATH=/home/helio/github/RIDE/src/:$PYTHONPATH
export PYTHONROOT=/usr/bin
if [ $# -ge 1 ]
then
PY=3
DIR="$1"
else
PY=3
DIR="utest"
fi
shift
if [ $# -eq 1 ]
then
DIR="$1"
fi
cd /home/helio/github/RIDE/
for i in `ls -1R $DIR | grep ":"`
do
a=`echo $i |sed s/://g`
for j in `ls -1 $a/test_*py 2>/dev/null`
do
# printf "$j\n"
# bypass file that is passing with invoke test
if [ "$j" = "$a/test_DEBUG_resourcefactory.py" ]
then
b=`true`
else
b=`$PYTHONROOT/python$PY $j`
fi
if [ $? -eq 1 ]
then
printf "$b\n"
printf "MUST FIX: $j\n"
exit
fi
done
done
Computing file changes ...