提交 4b3e1d68 编写于 作者: L liuyq-617

fix

上级 a16b2c7f
bash c#/test.sh
bash go/test.sh
bash java/test.sh
bash nodejs/test.sh
bash python/test.sh
bash restful/test.sh
bash rust/test.sh
bash 3-connectors/c#/test.sh || exit 8
bash 3-connectors/go/test.sh || exit 8
bash 3-connectors/java/test.sh || exit 8
bash 3-connectors/nodejs/test.sh || exit 8
bash 3-connectors/python/test.sh || exit 8
bash 3-connectors/restful/test.sh || exit 8
bash 3-connectors/rust/test.sh || exit 8
#!/bin/bash
ulimit -c unlimited
#======================p1-start===============
#======================p1-end===============
# restful test for python
# python3 test.py -f restful/restful_bind_db1.py
# python3 test.py -f restful/restful_bind_db2.py
python3 ./test.py -f client/nettest.py
\ No newline at end of file
bash c#/test.sh
bash go/test.sh
bash java/test.sh
bash nodejs/test.sh
bash python/test.sh
bash restful/test.sh
bash rust/test.sh
bash 3-connectors/c#/test.sh || exit 8
bash 3-connectors/go/test.sh || exit 8
bash 3-connectors/java/test.sh || exit 8
bash 3-connectors/nodejs/test.sh || exit 8
bash 3-connectors/python/test.sh || exit 8
bash 3-connectors/restful/test.sh || exit 8
bash 3-connectors/rust/test.sh || exit 8
......@@ -121,6 +121,11 @@ function runPyCaseOneByOnefq() {
$line > /dev/null 2>&1
fi
dohavecore $3 2
else
echo $line
if [[ $line =~ ^bash.* ]]; then
$line
fi
fi
fi
done
......@@ -208,16 +213,4 @@ else
cd $tests_dir/system-test
runPyCaseOneByOnefq fulltest-$1.sh $2 1 $3
fi
totalPySuccess=`grep 'success' pytest-out.log | wc -l`
if [ "$totalPySuccess" -gt "0" ]; then
echo -e "\n${GREEN} ### Total $totalPySuccess python case(s) succeed! ### ${NC}"
fi
totalPyFailed=`grep 'failed\|fault' pytest-out.log | wc -l`
if [ "$totalPyFailed" -ne "0" ]; then
echo -e "\n${RED} ### Total $totalPyFailed python case(s) failed! ### ${NC}"
# exit $totalPyFailed
fi
exit $(($totalFailed + $totalPyFailed + $totalJDBCFailed + $totalUnitFailed + $totalExampleFailed))
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册