Merge pull request #14234 from velconia/fix_ut_test_decayed_adagrad_op

Add TESTING_DEBUG_MODE to support debug info in daily CI test
revert-14324-fix_vlog
Qiyang Min 7 years ago committed by GitHub
commit 0804bf333b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -367,7 +367,12 @@ function run_test() {
Running unit tests ...
========================================
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 -j `nproc`
pip install ${INSTALL_PREFIX:-/paddle/build}/opt/paddle/share/wheels/*.whl

Loading…
Cancel
Save