Skip to content

Commit adda744

Browse files
committed
Show ctest debug build output
1 parent 29b48e4 commit adda744

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

developer-scripts/travis/test-script.cmake.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,11 @@ for version in ${GCC}; do
4747
printf "\nctest flags: %s\n" "${CTEST_FLAGS[*]}"
4848
if [[ "${BUILD_TYPE}" =~ Deb ]]; then
4949
printf "\nRunning ctest for a debug build...\n\n"
50-
if ! ctest "${CTEST_FLAGS[@]}" > "${BUILD_TYPE}.log" ; then
51-
cat "${BUILD_TYPE}.log"
52-
false
53-
fi
50+
export NREPEAT=1
5451
else
5552
printf "\nRunning ctest for a non-debug build...\n\n"
56-
ctest "${CTEST_FLAGS[@]}"
5753
fi
54+
ctest "${CTEST_FLAGS[@]}"
5855
make install
5956
make uninstall
6057
)

0 commit comments

Comments
 (0)