]> granicus.if.org Git - libevent/commitdiff
Add TSAN suppressions
authorAzat Khuzhin <azat@libevent.org>
Thu, 25 Jun 2020 18:01:53 +0000 (21:01 +0300)
committerAzat Khuzhin <azat@libevent.org>
Thu, 25 Jun 2020 19:57:40 +0000 (22:57 +0300)
.github/workflows/linux.yml
extra/tsan.supp [new file with mode: 0644]

index 2ac5fe59c5c0bf7bc14d0c0d78ab111100e78c2c..36f5ad057432039b61713be5c8b6d293cf68f21c 100644 (file)
@@ -68,6 +68,8 @@ jobs:
             cd $(basename $archive .tar.gz)
           fi
 
+          export TSAN_OPTIONS=suppressions=$PWD/extra/tsan.supp
+
           if [ "${{ matrix.EVENT_MATRIX }}" == "DISABLE_OPENSSL" ]; then
             EVENT_CMAKE_OPTIONS="-DEVENT__DISABLE_OPENSSL=ON"
           elif [ "${{ matrix.EVENT_MATRIX }}" == "DISABLE_THREAD_SUPPORT" ]; then
diff --git a/extra/tsan.supp b/extra/tsan.supp
new file mode 100644 (file)
index 0000000..414a12c
--- /dev/null
@@ -0,0 +1,2 @@
+# https://github.com/libevent/libevent/issues/777
+race:event_debug_mode_too_late