mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-22 05:46:41 +01:00
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 <Gilles.Peskine@arm.com>
This commit is contained in:
parent
319eee5fdd
commit
bd1b89a354
1 changed files with 3 additions and 0 deletions
|
|
@ -185,6 +185,9 @@ pre_initialize_variables () {
|
||||||
export MAKEFLAGS="-j"
|
export MAKEFLAGS="-j"
|
||||||
fi
|
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
|
# CFLAGS and LDFLAGS for Asan builds that don't use CMake
|
||||||
ASAN_CFLAGS='-Werror -Wall -Wextra -fsanitize=address,undefined -fno-sanitize-recover=all'
|
ASAN_CFLAGS='-Werror -Wall -Wextra -fsanitize=address,undefined -fno-sanitize-recover=all'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue