未验证 提交 0804bf33 编写于 作者: Q Qiyang Min 提交者: GitHub

Merge pull request #14234 from velconia/fix_ut_test_decayed_adagrad_op

Add TESTING_DEBUG_MODE to support debug info in daily CI test
...@@ -367,7 +367,12 @@ function run_test() { ...@@ -367,7 +367,12 @@ function run_test() {
Running unit tests ... Running unit tests ...
======================================== ========================================
EOF EOF
ctest --output-on-failure 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 should also be test when unittest
make install -j `nproc` make install -j `nproc`
pip install ${INSTALL_PREFIX:-/paddle/build}/opt/paddle/share/wheels/*.whl 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.
先完成此消息的编辑!
想要评论请 注册