ci(amd64/clang/lsan): fix leak sanitizer errors #57

Merged
light7734 merged 35 commits from ci/leak_sanatizer_fix into main 2025-10-09 14:08:14 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit a8a0bb146e - Show all commits

View file

@ -41,8 +41,8 @@ add_test_module(renderer
# general backend tests through the frontend
# frontend/messenger.test.cpp
frontend/context/surface.test.cpp
# frontend/context/device.test.cpp
# frontend/context/surface.test.cpp
frontend/context/device.test.cpp
# frontend/context/swapchain.test.cpp
# frontend/renderer/pass.test.cpp
# frontend/renderer/renderer.test.cpp

View file

@ -29,7 +29,7 @@ cmake . \
-lc++ \
-lc++abi \
-Wl,-rpath,/libcxx_lsan/lib" \
&& cmake --build ./build -j`nproc`
&& cmake --build ./build --target='renderer_tests' -j`nproc`
export LSAN_OPTIONS="suppressions=$(git rev-parse --show-toplevel)/tools/ci/amd64/clang/lsan.supp:fast_unwind_on_malloc=0:verbosity=1:report_objects=1"
export LSAN_SYMBOLIZER_PATH="$(which llvm-symbolizer)"