diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2019-12-05 10:46:55 +0000 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2019-12-05 10:54:18 +0000 |
commit | 1f9d5af4f197e7cc0469a0bb25dcbc51dfa537f4 (patch) | |
tree | 8d1f7a4a9ab5cd04f1a1b728fe946bfb3aeef3bd | |
parent | 5aee0e2163cc02cdf1cd6bec69bfbb513bb302d5 (diff) |
tests: Add initialization order fiasco detection in Travis
-rwxr-xr-x | ci/test/04_install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/test/04_install.sh b/ci/test/04_install.sh index b9eaae0b0d..5aa788e07d 100755 --- a/ci/test/04_install.sh +++ b/ci/test/04_install.sh @@ -33,7 +33,7 @@ fi mkdir -p "${BASE_SCRATCH_DIR}" mkdir -p "${CCACHE_DIR}" -export ASAN_OPTIONS="detect_stack_use_after_return=1" +export ASAN_OPTIONS="detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1" export LSAN_OPTIONS="suppressions=${BASE_ROOT_DIR}/test/sanitizer_suppressions/lsan" export TSAN_OPTIONS="suppressions=${BASE_ROOT_DIR}/test/sanitizer_suppressions/tsan:log_path=${BASE_SCRATCH_DIR}/sanitizer-output/tsan" export UBSAN_OPTIONS="suppressions=${BASE_ROOT_DIR}/test/sanitizer_suppressions/ubsan:print_stacktrace=1:halt_on_error=1:report_error_type=1" |