0
0
mirror of https://github.com/vim/vim.git synced 2025-10-02 05:04:20 -04:00

patch 8.2.2424: some tests are known to cause an error with ASAN

Problem:    Some tests are known to cause an error with ASAN.
Solution:   Add CheckNotAsan.
This commit is contained in:
Bram Moolenaar
2021-01-28 18:34:35 +01:00
parent 61015162ba
commit 97202d9516
5 changed files with 37 additions and 20 deletions

View File

@@ -4,11 +4,9 @@ source check.vim
CheckFeature terminal
CheckNotGui
if execute('version') =~# '-fsanitize=[a-z,]*\<address\>'
" Skip tests on Travis CI ASAN build because it's difficult to estimate
" memory usage.
throw 'Skipped: does not work with ASAN'
endif
" Skip tests on Travis CI ASAN build because it's difficult to estimate memory
" usage.
CheckNotAsan
source shared.vim