This is an automated email from the ASF dual-hosted git repository.

masaori pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 91f9375993 Suppress leak of pcre_jit_stack_alloc for unit tests 
(#10525)
91f9375993 is described below

commit 91f93759932adb61f9bf68b7dfe3295e0a1a8301
Author: Masaori Koshiba <masa...@apache.org>
AuthorDate: Wed Sep 27 14:02:46 2023 +0900

    Suppress leak of pcre_jit_stack_alloc for unit tests (#10525)
---
 ci/asan_leak_suppression/unit_tests.txt | 2 ++
 iocore/cache/Makefile.am                | 1 +
 mgmt/rpc/Makefile.am                    | 1 +
 3 files changed, 4 insertions(+)

diff --git a/ci/asan_leak_suppression/unit_tests.txt 
b/ci/asan_leak_suppression/unit_tests.txt
index b75dec9a9c..f1848dacd5 100644
--- a/ci/asan_leak_suppression/unit_tests.txt
+++ b/ci/asan_leak_suppression/unit_tests.txt
@@ -4,3 +4,5 @@ leak:libcrypto.so.1.1
 leak:CRYPTO_malloc
 leak:CRYPTO_realloc
 leak:ConsCell
+# PR#10295
+leak:pcre_jit_stack_alloc
diff --git a/iocore/cache/Makefile.am b/iocore/cache/Makefile.am
index 2313b66f5e..6cceca8a78 100644
--- a/iocore/cache/Makefile.am
+++ b/iocore/cache/Makefile.am
@@ -64,6 +64,7 @@ libinkcache_a_SOURCES += \
 endif
 
 TESTS = $(check_PROGRAMS)
+TESTS_ENVIRONMENT = 
LSAN_OPTIONS=suppressions=$(abs_top_srcdir)/ci/asan_leak_suppression/unit_tests.txt
 
 test_CPPFLAGS = \
        $(AM_CPPFLAGS) \
diff --git a/mgmt/rpc/Makefile.am b/mgmt/rpc/Makefile.am
index d8afc528fe..f6cd65082c 100644
--- a/mgmt/rpc/Makefile.am
+++ b/mgmt/rpc/Makefile.am
@@ -32,6 +32,7 @@ check_PROGRAMS = test_jsonrpc test_jsonrpcserver
 
 
 TESTS = $(check_PROGRAMS)
+TESTS_ENVIRONMENT = 
LSAN_OPTIONS=suppressions=$(abs_top_srcdir)/ci/asan_leak_suppression/unit_tests.txt
 
 
###########################################################################################
 # Protocol library only, no transport.

Reply via email to