mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
parent
bbaee29add
commit
54807231c0
@ -13,7 +13,7 @@ local is_os = helpers.is_os
|
||||
local is_ci = helpers.is_ci
|
||||
|
||||
local function isasan()
|
||||
local version = eval('execute("version")')
|
||||
local version = eval('execute("verbose version")')
|
||||
return version:match('-fsanitize=[a-z,]*address')
|
||||
end
|
||||
|
||||
|
@ -168,7 +168,7 @@ endfunc
|
||||
" Command to check for not running under ASAN
|
||||
command CheckNotAsan call CheckNotAsan()
|
||||
func CheckNotAsan()
|
||||
if execute('version') =~# '-fsanitize=[a-z,]*\<address\>'
|
||||
if execute('verbose version') =~# '-fsanitize=[a-z,]*\<address\>'
|
||||
throw 'Skipped: does not work with ASAN'
|
||||
endif
|
||||
endfunc
|
||||
|
Loading…
Reference in New Issue
Block a user