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

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

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