From 256c412b316755a9d6c0ad94b3e3139b27a27476 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 2 Aug 2019 16:09:59 +0200 Subject: Tests: also don't fail on memory leaks for gtests --- tests/python/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/python') diff --git a/tests/python/CMakeLists.txt b/tests/python/CMakeLists.txt index 44bdce954b1..4793010885e 100644 --- a/tests/python/CMakeLists.txt +++ b/tests/python/CMakeLists.txt @@ -54,7 +54,7 @@ function(add_blender_test testname) # Don't fail tests on leaks since these often happen in external libraries # that we can't fix. - set_tests_properties(${testname} PROPERTIES ENVIRONMENT LSAN_OPTIONS="exitcode=0") + set_tests_properties(${testname} PROPERTIES ENVIRONMENT LSAN_OPTIONS=exitcode=0) endfunction() # Run Python script outside Blender. @@ -73,7 +73,7 @@ function(add_python_test testname testscript) ) endif() - set_tests_properties(${testname} PROPERTIES ENVIRONMENT LSAN_OPTIONS="exitcode=0") + set_tests_properties(${testname} PROPERTIES ENVIRONMENT LSAN_OPTIONS=exitcode=0) endfunction() # ------------------------------------------------------------------------------ -- cgit v1.2.3