Skip to content

Commit 0804bf3

Browse files
authored
Merge pull request #14234 from velconia/fix_ut_test_decayed_adagrad_op
Add TESTING_DEBUG_MODE to support debug info in daily CI test
2 parents 0627ee8 + e46f03e commit 0804bf3

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)