Skip to content

Commit f7831bb

Browse files
committed
fix(ci/asan): invalid options for supressing incorrect report of leak
1 parent 589c453 commit f7831bb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/asan_assets/test_mem.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
1818
# export DYLD_PRINT_LIBRARIES=1 X=1
1919
export DYLD_INSERT_LIBRARIES="./.github/asan_assets/libdlclose.dylib:$ASAN_LIB_ABS_PATH"
2020
# see https://github.com/llvm/llvm-project/issues/115992
21-
export ASAN_OPTIONS="detect_leaks=1:suppressions=./github/asan_assets/lsan.supp"
21+
export LSAN_OPTIONS="suppressions=./.github/asan_assets/lsan.supp"
22+
export ASAN_OPTIONS="detect_leaks=1"
2223

2324
lua test.lua
2425
else

0 commit comments

Comments
 (0)