ci: set UBSan to halt on error and provide more information

This commit is contained in:
Kittywhiskers Van Gogh 2024-08-27 20:05:31 +00:00
parent 3a1743fc7f
commit 438cb85ece
No known key found for this signature in database
GPG Key ID: 30CD0C065E5C4AAD

View File

@ -14,7 +14,7 @@ source ./ci/test/00_setup_env.sh
export ASAN_OPTIONS=""
export LSAN_OPTIONS="suppressions=${BASE_ROOT_DIR}/test/sanitizer_suppressions/lsan"
export TSAN_OPTIONS="suppressions=${BASE_ROOT_DIR}/test/sanitizer_suppressions/tsan:halt_on_error=1"
export UBSAN_OPTIONS="suppressions=${BASE_ROOT_DIR}/test/sanitizer_suppressions/ubsan"
export UBSAN_OPTIONS="suppressions=${BASE_ROOT_DIR}/test/sanitizer_suppressions/ubsan:print_stacktrace=1:halt_on_error=1:report_error_type=1"
if [ "$BUILD_TARGET" = "arm-linux" ]; then
source ./ci/test/00_setup_env_arm.sh