Suppress libcln from asan tests

This commit is contained in:
Rodrigo Q. Saramago 2023-01-30 13:22:58 +01:00
parent 206e7cf5db
commit 21f95c4536
No known key found for this signature in database
GPG Key ID: 9B36B2525704A359
2 changed files with 7 additions and 0 deletions

1
.circleci/cln-asan.supp Normal file
View File

@ -0,0 +1 @@
leak:*libcln*

View File

@ -1094,6 +1094,9 @@ jobs:
environment: environment:
TERM: xterm TERM: xterm
ASAN_OPTIONS: check_initialization_order=true:detect_stack_use_after_return=true:strict_init_order=true:strict_string_checks=true:detect_invalid_pointer_pairs=2 ASAN_OPTIONS: check_initialization_order=true:detect_stack_use_after_return=true:strict_init_order=true:strict_string_checks=true:detect_invalid_pointer_pairs=2
# Suppress CLN memory leak.
# See: https://github.com/ethereum/solidity/issues/13891 for details.
LSAN_OPTIONS: suppressions=.circleci/cln-asan.supp
<<: *steps_cmdline_tests <<: *steps_cmdline_tests
t_ubu_asan_soltest: t_ubu_asan_soltest:
@ -1104,6 +1107,9 @@ jobs:
OPTIMIZE: 0 OPTIMIZE: 0
SOLTEST_FLAGS: --no-smt SOLTEST_FLAGS: --no-smt
ASAN_OPTIONS: check_initialization_order=true:detect_stack_use_after_return=true:strict_init_order=true:strict_string_checks=true:detect_invalid_pointer_pairs=2 ASAN_OPTIONS: check_initialization_order=true:detect_stack_use_after_return=true:strict_init_order=true:strict_string_checks=true:detect_invalid_pointer_pairs=2
# Suppress CLN memory leak.
# See: https://github.com/ethereum/solidity/issues/13891 for details.
LSAN_OPTIONS: suppressions=.circleci/cln-asan.supp
<<: *steps_soltest <<: *steps_soltest
t_ubu_asan_clang_soltest: t_ubu_asan_clang_soltest: