diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2018-11-15 15:08:28 +0100 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2018-11-26 22:20:46 +0100 |
commit | ff7212ec326bb0851eac3653cdb03551d3aab659 (patch) | |
tree | ecda7206ccef4f44843fc77776c7b839fb3496d4 /.travis/test_04_install.sh | |
parent | ebd3bf25909cb20dc1224872be3017397579ff0f (diff) |
Add ASan Travis build
Diffstat (limited to '.travis/test_04_install.sh')
-rwxr-xr-x | .travis/test_04_install.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis/test_04_install.sh b/.travis/test_04_install.sh index 94d9ccb32d..03a61ea9f8 100755 --- a/.travis/test_04_install.sh +++ b/.travis/test_04_install.sh @@ -7,9 +7,11 @@ export LC_ALL=C.UTF-8 travis_retry docker pull "$DOCKER_NAME_TAG" +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 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|(TSAN|UBSAN)_OPTIONS)' | tee /tmp/env +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 DOCKER_ADMIN="--cap-add SYS_ADMIN" fi |