未验证 提交 f55126eb 编写于 作者: K Kaipeng Deng 提交者: GitHub

fix build wheel script, run unittest separatly (#5777)

上级 d63faf03
...@@ -91,9 +91,8 @@ function unittest() { ...@@ -91,9 +91,8 @@ function unittest() {
if [ $? != 0 ]; then if [ $? != 0 ]; then
exit 1 exit 1
fi fi
find "../ppdet" -name 'tests' -type d -print0 | \ find "../ppdet" -wholename '*tests/test_*' -type f -print0 | \
xargs -0 -I{} -n1 bash -c \ xargs -0 -I{} -n1 -t bash -c 'python -u -s {}'
'python -m unittest discover -v -s {}'
# clean TEST_DIR # clean TEST_DIR
cd .. cd ..
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册