From e46f03e19dd59a7ca36d4a1491f57d4bafd06741 Mon Sep 17 00:00:00 2001 From: minqiyang Date: Mon, 5 Nov 2018 13:20:16 +0800 Subject: [PATCH] Add TESTING_DEBUG_MODE to support debug info in daily CI test test=develop --- paddle/scripts/paddle_build.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index d7676f89ab5..2f5fef36c42 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -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 -- GitLab