aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2019-12-05 10:46:55 +0000
committerpracticalswift <practicalswift@users.noreply.github.com>2019-12-05 10:54:18 +0000
commit1f9d5af4f197e7cc0469a0bb25dcbc51dfa537f4 (patch)
tree8d1f7a4a9ab5cd04f1a1b728fe946bfb3aeef3bd /ci
parent5aee0e2163cc02cdf1cd6bec69bfbb513bb302d5 (diff)
tests: Add initialization order fiasco detection in Travis
Diffstat (limited to 'ci')
-rwxr-xr-xci/test/04_install.sh2
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"