From ecb3b503c3e5ff56390f04655acdc4e510a5f220 Mon Sep 17 00:00:00 2001 From: Simon Giesecke Date: Thu, 8 Feb 2018 18:43:40 +0100 Subject: [PATCH] Problem: no output of details on test failure Solution: set CTEST_OUTPUT_ON_FAILURE option --- builds/cmake/ci_build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/builds/cmake/ci_build.sh b/builds/cmake/ci_build.sh index 736c461d..791e2bf9 100755 --- a/builds/cmake/ci_build.sh +++ b/builds/cmake/ci_build.sh @@ -44,5 +44,6 @@ if [ "$DO_CLANG_FORMAT_CHECK" -eq "1" ] ; then exit 1 fi else - ( PKG_CONFIG_PATH=${BUILD_PREFIX}/lib/pkgconfig cmake "${CMAKE_OPTS[@]}" .. && make -j5 all VERBOSE=1 && make install && make -j5 test ) || exit 1 + export CTEST_OUTPUT_ON_FAILURE=1 + ( PKG_CONFIG_PATH=${BUILD_PREFIX}/lib/pkgconfig cmake "${CMAKE_OPTS[@]}" .. && make -j5 all VERBOSE=1 && make install && make -j5 test ARGS="-V" ) || exit 1 fi