0
0
mirror of https://github.com/vim/vim.git synced 2025-10-03 05:14:07 -04:00

patch 8.1.1541: check for ASAN is not reliable

Problem:    Check for ASAN is not reliable.
Solution:   Check the version output. (Dominique Pelle, closes #4543)
This commit is contained in:
Bram Moolenaar
2019-06-15 16:34:21 +02:00
parent 0abb4273f6
commit bffc50494d
2 changed files with 3 additions and 1 deletions

View File

@@ -6,7 +6,7 @@ endif
if has('gui_running') if has('gui_running')
throw 'Skipped, does not work in GUI' throw 'Skipped, does not work in GUI'
endif endif
if $ASAN_OPTIONS !=# '' if execute('version') =~# '-fsanitize=[a-z,]*\<address\>'
" Skip tests on Travis CI ASAN build because it's difficult to estimate " Skip tests on Travis CI ASAN build because it's difficult to estimate
" memory usage. " memory usage.
throw 'Skipped, does not work with ASAN' throw 'Skipped, does not work with ASAN'

View File

@@ -777,6 +777,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1541,
/**/ /**/
1540, 1540,
/**/ /**/