Skip to content

Commit e46f03e

Browse files
committed
Add TESTING_DEBUG_MODE to support debug info in daily CI test
test=develop
1 parent df038b6 commit e46f03e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

paddle/scripts/paddle_build.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,12 @@ function run_test() {
367367
Running unit tests ...
368368
========================================
369369
EOF
370-
ctest --output-on-failure
370+
if [ ${TESTING_DEBUG_MODE:-OFF} == "ON" ] ; then
371+
ctest -V
372+
else
373+
ctest --output-on-failure
374+
fi
375+
371376
# make install should also be test when unittest
372377
make install -j `nproc`
373378
pip install ${INSTALL_PREFIX:-/paddle/build}/opt/paddle/share/wheels/*.whl

0 commit comments

Comments
 (0)