ci(amd64/clang/lsan): add suppression rules for dlopen/close and xlib
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
07a3dfcb36
commit
23d84c251a
2 changed files with 5 additions and 0 deletions
|
@ -30,6 +30,8 @@ cmake . \
|
||||||
-Wl,-rpath,/libcxx_lsan/lib" \
|
-Wl,-rpath,/libcxx_lsan/lib" \
|
||||||
&& cmake --build ./build -j`nproc`
|
&& cmake --build ./build -j`nproc`
|
||||||
|
|
||||||
|
export LSAN_OPTIONS='suppressions=./tools/ci/amd64/clang/lsan.supp'
|
||||||
|
|
||||||
for test in $(find ./build -type f -name '*_tests' -executable); do
|
for test in $(find ./build -type f -name '*_tests' -executable); do
|
||||||
echo "Running $test"
|
echo "Running $test"
|
||||||
"$test"
|
"$test"
|
||||||
|
|
3
tools/ci/amd64/clang/lsan.supp
Normal file
3
tools/ci/amd64/clang/lsan.supp
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
leak:libX11
|
||||||
|
leak:_dlopen
|
||||||
|
leak:_dlclose
|
Loading…
Add table
Reference in a new issue