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

index 36f5ad057432039b61713be5c8b6d293cf68f21c..45b1292e7b43e99526af09d94e3c512fd077260e 100644 (file)
@@ -69,6 +69,7 @@ jobs:
           fi
 
           export TSAN_OPTIONS=suppressions=$PWD/extra/tsan.supp
+          export LSAN_OPTIONS=suppressions=$PWD/extra/lsan.supp
 
           if [ "${{ matrix.EVENT_MATRIX }}" == "DISABLE_OPENSSL" ]; then
             EVENT_CMAKE_OPTIONS="-DEVENT__DISABLE_OPENSSL=ON"
diff --git a/extra/lsan.supp b/extra/lsan.supp
new file mode 100644 (file)
index 0000000..c1b130b
--- /dev/null
@@ -0,0 +1,3 @@
+# TODO: temporary, until tests itself will be fixed
+leak:libcrypto.so
+leak:libssl.so