From b24f6d0feaad426be2f3dfb3eb3e1671bf7a5765 Mon Sep 17 00:00:00 2001 From: gangliao Date: Fri, 5 May 2017 18:58:41 +0800 Subject: [PATCH] accelerate test and add debug info --- paddle/scripts/docker/build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/paddle/scripts/docker/build.sh b/paddle/scripts/docker/build.sh index 4172063d923..33d2d3a8b1e 100644 --- a/paddle/scripts/docker/build.sh +++ b/paddle/scripts/docker/build.sh @@ -1,6 +1,6 @@ #!/bin/bash -set -e +set -xe # Set BASE_IMAGE according to env variables if [ ${WITH_GPU} == "ON" ]; then @@ -34,7 +34,7 @@ cmake .. \ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON make -j `nproc` if [ ${WITH_TESTING:-OFF} == "ON" ] && [ ${RUN_TEST:-OFF} == "ON" ] ; then - make test + ctest -j `nproc` fi make install pip install /usr/local/opt/paddle/share/wheels/*.whl @@ -71,7 +71,7 @@ if [[ ${WOBOQ:-OFF} == 'ON' ]]; then cmake -DLLVM_CONFIG_EXECUTABLE=/usr/bin/llvm-config-3.8 \ -DCMAKE_BUILD_TYPE=Release \ . - make + make -j `nproc` export WOBOQ_OUT=/woboq_out/paddle export BUILD_DIR=/paddle/build -- GitLab