test(nanovg): remove lsan suppressions file (#10437)

This commit is contained in:
André Costa
2026-08-07 15:04:52 +02:00
committed by GitHub
parent 2418dcb9fc
commit 6bba7d099a
2 changed files with 5 additions and 11 deletions
+5 -4
View File
@@ -293,10 +293,11 @@ foreach(test_case_fname ${TEST_CASE_FILES})
COMMAND ${test_name})
if(CONFIG_LV_USE_NANOVG_TEST_HEADLESS)
# Force the Mesa driver so that rendering is reproducible, and suppress
# the allocations the GL stack makes once per process.
set_tests_properties(${test_name} PROPERTIES ENVIRONMENT
"LSAN_OPTIONS=suppressions=${LVGL_TEST_DIR}/lsan-nanovg.supp:fast_unwind_on_malloc=0;__EGL_VENDOR_LIBRARY_FILENAMES=${LVGL_TEST_DIR}/egl_vendor_mesa_only.json")
# Force the Mesa driver so that rendering is reproducible
set(nanovg_test_env
"LSAN_OPTIONS=fast_unwind_on_malloc=0"
"__EGL_VENDOR_LIBRARY_FILENAMES=${LVGL_TEST_DIR}/egl_vendor_mesa_only.json")
set_tests_properties(${test_name} PROPERTIES ENVIRONMENT "${nanovg_test_env}")
endif()
endforeach()
-7
View File
@@ -1,7 +0,0 @@
# LeakSanitizer suppressions for NanoVG headless tests.
# Mesa/EGL drivers have known internal allocations that persist for the
# lifetime of the GL context. These are not application-level leaks.
# Targeted by specific Mesa internal functions where possible.
leak:libgallium
leak:libEGL_mesa
leak:dri2_initialize