We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4b91f6 commit aa0f30bCopy full SHA for aa0f30b
tests/lapi/CMakeLists.txt
@@ -16,6 +16,13 @@ lapi_tests_make_lua_path(LUA_PATH
16
${CMAKE_CURRENT_SOURCE_DIR}/?.lua
17
)
18
19
+list(APPEND TEST_ENV
20
+ "LUA_PATH=${LUA_PATH};"
21
+ "LUA_CPATH=${LUA_CPATH};"
22
+ "ASAN_OPTIONS=detect_odr_violation=0;"
23
+ "LD_DYNAMIC_WEAK=1;"
24
+)
25
+
26
function(create_test)
27
cmake_parse_arguments(
28
FUZZ
@@ -45,7 +52,7 @@ function(create_test)
45
52
46
53
set_tests_properties(${test_name} PROPERTIES
47
54
LABELS "lapi"
48
- ENVIRONMENT "LUA_PATH=${LUA_PATH};LUA_CPATH=${LUA_CPATH};ASAN_OPTIONS=detect_odr_violation=0;LD_DYNAMIC_WEAK=1"
55
+ ENVIRONMENT "${TEST_ENV}"
49
56
DEPENDS ${LUA_EXECUTABLE} ${LUZER_LIBRARY}
50
57
51
58
endfunction()
0 commit comments