mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Tests: don't fail on leaks detected by leak sanitizer
These often happen in external libraries that we can't fix. The leaks are still printed in the logs.
This commit is contained in:
parent
f4b0900856
commit
38ff5064b3
1 changed files with 4 additions and 0 deletions
|
|
@ -51,6 +51,10 @@ function(add_blender_test name)
|
|||
NAME ${name}
|
||||
COMMAND "$<TARGET_FILE:blender>" ${TEST_BLENDER_EXE_PARAMS} ${ARGN}
|
||||
)
|
||||
|
||||
# Don't fail tests on leaks since these often happen in external libraries
|
||||
# that we can't fix.
|
||||
set_tests_properties(${name} PROPERTIES ENVIRONMENT LSAN_OPTIONS="exitcode=0")
|
||||
endfunction()
|
||||
|
||||
# Run Python script outside Blender.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue