Add TESTING_DEBUG_MODE to support debug info in daily CI test

test=develop
revert-14324-fix_vlog
minqiyang 6 years ago
parent df038b6149
commit e46f03e19d

@ -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