[Tarantool-patches] [PATCH luajit] build: fixed making tests with ASAN on OSX
Evgeniy Temirgaleev
e.temirgaleev at tarantool.org
Fri Jul 31 14:43:44 MSK 2026
LuaJIT tests use fixup for Linux to run binaries maked with ASAN option.
The our LibRealPath module used for it. This module doesn't support OSX
and breaks the make process.
So, we disable the fixup for OSX to allow LuaJIT making and running the tests
with ASAN enabled.
---
test/LuaJIT-tests/CMakeLists.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/test/LuaJIT-tests/CMakeLists.txt b/test/LuaJIT-tests/CMakeLists.txt
index c1dbde35..42967cbc 100644
--- a/test/LuaJIT-tests/CMakeLists.txt
+++ b/test/LuaJIT-tests/CMakeLists.txt
@@ -17,7 +17,8 @@ else()
list(APPEND LUAJIT_TESTS_ENV LD_LIBRARY_PATH="${LD_LIBRARY_PATH}")
endif()
-if(LUAJIT_USE_ASAN)
+if(LUAJIT_USE_ASAN
+ AND NOT CMAKE_SYSTEM_NAME STREQUAL "Darwin")
# When running LuaJIT-tests under ASAN, the internal ASAN check
# failed:
# AddressSanitizer: CHECK failed: asan_interceptors.cpp:356
--
2.49.0
More information about the Tarantool-patches
mailing list