aboutsummaryrefslogtreecommitdiff
path: root/test/sanitizer_suppressions/tsan
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-11-23 09:38:08 -0500
committerMarcoFalke <falke.marco@gmail.com>2018-11-23 09:38:33 -0500
commit2607c38fc5170409dd13f3061ba5e5fa2de6438d (patch)
tree429236192bbcfe064d6f815faea23c63829a3b7c /test/sanitizer_suppressions/tsan
parent59f05d1161698dcca6eaf719422d4ec3401f2954 (diff)
parentfa7d36b8e77cafe74ac9c11ebe752b731c215480 (diff)
downloadbitcoin-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 'test/sanitizer_suppressions/tsan')
-rw-r--r--test/sanitizer_suppressions/tsan24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/sanitizer_suppressions/tsan b/test/sanitizer_suppressions/tsan
new file mode 100644
index 0000000000..209c46f096
--- /dev/null
+++ b/test/sanitizer_suppressions/tsan
@@ -0,0 +1,24 @@
+# ThreadSanitizer suppressions
+# ============================
+
+# fChecked is theoretically racy, practically only in unit tests
+race:CheckBlock
+
+# WalletBatch (unidentified deadlock)
+deadlock:WalletBatch
+
+# Intentional deadlock in tests
+deadlock:TestPotentialDeadLockDetected
+
+# Wildcard for all gui tests, should be replaced with non-wildcard suppressions
+race:src/qt/test/*
+deadlock:src/qt/test/*
+
+# WIP: Unidentified suppressions to run the functional tests
+#race:zmqpublishnotifier.cpp
+#
+#deadlock:CreateWalletFromFile
+#deadlock:importprivkey
+#deadlock:walletdb.h
+#deadlock:walletdb.cpp
+#deadlock:wallet/db.cpp