all.sh: Enable verbose failure messages for CMake

Set the CMake-observed variable `CTEST_OUTPUT_ON_FAILURE`, so that when
a "make test" run by CMake fails, verbose test output about the detail
of failure is available.

Signed-off-by: Gilles Peskine <[email protected]>
This commit is contained in:
Jaeden Amero
2020-10-06 12:39:34 +02:00
committed by Gilles Peskine
parent 319eee5fdd
commit bd1b89a354
+3
View File
@@ -185,6 +185,9 @@ pre_initialize_variables () {
export MAKEFLAGS="-j"
fi
# Include more verbose output for failing tests run by CMake
export CTEST_OUTPUT_ON_FAILURE=1
# CFLAGS and LDFLAGS for Asan builds that don't use CMake
ASAN_CFLAGS='-Werror -Wall -Wextra -fsanitize=address,undefined -fno-sanitize-recover=all'