mirror of
https://github.com/neovim/neovim.git
synced 2026-04-20 22:35:33 +00:00
test: simplify ASAN detection
This commit is contained in:
@@ -905,11 +905,6 @@ function M.testprg(name)
|
||||
return ('%s/%s%s'):format(M.nvim_dir, name, ext)
|
||||
end
|
||||
|
||||
function M.is_asan()
|
||||
local version = M.eval('execute("verbose version")')
|
||||
return version:match('-fsanitize=[a-z,]*address')
|
||||
end
|
||||
|
||||
--- Returns a valid, platform-independent Nvim listen address.
|
||||
--- Useful for communicating with child instances.
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user