aboutsummaryrefslogtreecommitdiff
path: root/.travis/test_04_install.sh
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2018-11-27 10:21:29 +0100
committerpracticalswift <practicalswift@users.noreply.github.com>2018-12-17 09:24:37 +0100
commit069752b72613b772a9536a3e7f15fa75097f2946 (patch)
treee0eaa687154c6c0528ea6380b9cb20151b61bdc2 /.travis/test_04_install.sh
parent9133227298ad97bbb10c44ac038f614c0bd7f7c7 (diff)
downloadbitcoin-069752b72613b772a9536a3e7f15fa75097f2946.tar.xz
build: Enable functional tests in the ThreadSanitizer (TSan) build job
Diffstat (limited to '.travis/test_04_install.sh')
-rwxr-xr-x.travis/test_04_install.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis/test_04_install.sh b/.travis/test_04_install.sh
index 03a61ea9f8..3f74158117 100755
--- a/.travis/test_04_install.sh
+++ b/.travis/test_04_install.sh
@@ -7,9 +7,10 @@
export LC_ALL=C.UTF-8
travis_retry docker pull "$DOCKER_NAME_TAG"
+mkdir -p "${TRAVIS_BUILD_DIR}/sanitizer-output/"
export ASAN_OPTIONS=""
export LSAN_OPTIONS="suppressions=${TRAVIS_BUILD_DIR}/test/sanitizer_suppressions/lsan"
-export TSAN_OPTIONS="suppressions=${TRAVIS_BUILD_DIR}/test/sanitizer_suppressions/tsan"
+export TSAN_OPTIONS="suppressions=${TRAVIS_BUILD_DIR}/test/sanitizer_suppressions/tsan:log_path=${TRAVIS_BUILD_DIR}/sanitizer-output/tsan"
export UBSAN_OPTIONS="suppressions=${TRAVIS_BUILD_DIR}/test/sanitizer_suppressions/ubsan:print_stacktrace=1:halt_on_error=1"
env | grep -E '^(BITCOIN_CONFIG|CCACHE_|WINEDEBUG|LC_ALL|BOOST_TEST_RANDOM|CONFIG_SHELL|(ASAN|LSAN|TSAN|UBSAN)_OPTIONS)' | tee /tmp/env
if [[ $HOST = *-mingw32 ]]; then