diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-11-23 09:38:08 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-11-23 09:38:33 -0500 |
commit | 2607c38fc5170409dd13f3061ba5e5fa2de6438d (patch) | |
tree | 429236192bbcfe064d6f815faea23c63829a3b7c /.travis/test_04_install.sh | |
parent | 59f05d1161698dcca6eaf719422d4ec3401f2954 (diff) | |
parent | fa7d36b8e77cafe74ac9c11ebe752b731c215480 (diff) | |
download | bitcoin-2607c38fc5170409dd13f3061ba5e5fa2de6438d.tar.xz |
Merge #14764: travis: Run thread sanitizer on unit tests
fa7d36b8e7 test: Move UBSAN suppressions to test/sanitizer_suppressions/ubsan (MarcoFalke)
fa36d4e456 travis: --disable-hardening for xenial thread sanitizer (MarcoFalke)
89bf196c88 travis: Run thread sanitizer (MarcoFalke)
Pull request description:
On unit tests only for now. Disabled for the gui unit tests and all functional tests.
Tree-SHA512: 56f7d3b44e7cb68c76a2dc5abd85658955b1c2188932e988667c5a1cbcdd6be995d37bb949d62c6eb08a4aebfc43ff0370b7da1719d4e4f322a3495c1941a5e0
Diffstat (limited to '.travis/test_04_install.sh')
-rwxr-xr-x | .travis/test_04_install.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.travis/test_04_install.sh b/.travis/test_04_install.sh index 4cf0ba8984..75de71c583 100755 --- a/.travis/test_04_install.sh +++ b/.travis/test_04_install.sh @@ -7,8 +7,9 @@ export LC_ALL=C.UTF-8 travis_retry docker pull "$DOCKER_NAME_TAG" -export UBSAN_OPTIONS="suppressions=${TRAVIS_BUILD_DIR}/contrib/sanitizers-ubsan.suppressions:print_stacktrace=1:halt_on_error=1" -env | grep -E '^(CCACHE_|WINEDEBUG|LC_ALL|BOOST_TEST_RANDOM|CONFIG_SHELL|UBSAN_OPTIONS)' | tee /tmp/env +export TSAN_OPTIONS="suppressions=${TRAVIS_BUILD_DIR}/test/sanitizer_suppressions/tsan" +export UBSAN_OPTIONS="suppressions=${TRAVIS_BUILD_DIR}/test/sanitizer_suppressions/ubsan:print_stacktrace=1:halt_on_error=1" +env | grep -E '^(CCACHE_|WINEDEBUG|LC_ALL|BOOST_TEST_RANDOM|CONFIG_SHELL|(TSAN|UBSAN)_OPTIONS)' | tee /tmp/env if [[ $HOST = *-mingw32 ]]; then DOCKER_ADMIN="--cap-add SYS_ADMIN" fi |