提交 e46f03e1 编写于 作者: M minqiyang

Add TESTING_DEBUG_MODE to support debug info in daily CI test

test=develop
上级 df038b61
......@@ -367,7 +367,12 @@ function run_test() {
Running unit tests ...
========================================
EOF
if [ ${TESTING_DEBUG_MODE:-OFF} == "ON" ] ; then
ctest -V
else
ctest --output-on-failure
fi
# make install should also be test when unittest
make install -j `nproc`
pip install ${INSTALL_PREFIX:-/paddle/build}/opt/paddle/share/wheels/*.whl
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册