aboutsummaryrefslogtreecommitdiff
path: root/ci/test/00_setup_env_native_tsan.sh
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-12-04 11:21:32 -0500
committerMarcoFalke <falke.marco@gmail.com>2019-12-04 12:16:52 -0500
commitfa40e48c50d8ccf42ce5e66c12390e2ed4b60e75 (patch)
tree02e491ac3cceb07a99b1350389d1dba991bc36bd /ci/test/00_setup_env_native_tsan.sh
parentfa1bfc476c9208a4c412c8ca74d05f52bb47766f (diff)
downloadbitcoin-fa40e48c50d8ccf42ce5e66c12390e2ed4b60e75.tar.xz
ci: Remove unparseable lines from supp file for old xenial clang tsan
Diffstat (limited to 'ci/test/00_setup_env_native_tsan.sh')
-rw-r--r--ci/test/00_setup_env_native_tsan.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/ci/test/00_setup_env_native_tsan.sh b/ci/test/00_setup_env_native_tsan.sh
index f7a16206ab..e9b7a7bba1 100644
--- a/ci/test/00_setup_env_native_tsan.sh
+++ b/ci/test/00_setup_env_native_tsan.sh
@@ -11,3 +11,7 @@ export PACKAGES="clang llvm python3-zmq qtbase5-dev qttools5-dev-tools libevent-
export NO_DEPENDS=1
export GOAL="install"
export BITCOIN_CONFIG="--enable-zmq --disable-wallet --with-gui=qt5 CPPFLAGS='-DARENA_DEBUG -DDEBUG_LOCKORDER' --with-sanitizers=thread --disable-hardening --disable-asm CC=clang CXX=clang++"
+
+# xenial comes with old clang versions that can not parse the sanitizer suppressions files
+# Remove unparseable lines as a hacky workaround
+sed -i '/^implicit-/d' "${BASE_ROOT_DIR}/test/sanitizer_suppressions/ubsan"