Problem: no output of details on test failure

Solution: set CTEST_OUTPUT_ON_FAILURE option
This commit is contained in:
Simon Giesecke 2018-02-08 18:43:40 +01:00
parent e57afec80e
commit ecb3b503c3

View File

@ -44,5 +44,6 @@ if [ "$DO_CLANG_FORMAT_CHECK" -eq "1" ] ; then
exit 1 exit 1
fi fi
else 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 fi