patch 8.2.2927: test commented out because it fails with ASAN
Problem: Test commented out because it fails with ASAN. Solution: Only skip the test when running with ASAN.
This commit is contained in:
@ -277,18 +277,20 @@ func Test_V_arg()
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
" Test that an error is shown when the defaults.vim file could not be read
|
" Test that an error is shown when the defaults.vim file could not be read
|
||||||
" TODO: disabled - this causes ASAN errors for unknown reasons
|
func Test_defaults_error()
|
||||||
"func Test_defaults_error()
|
" Can't catch the output of gvim.
|
||||||
" " Can't catch the output of gvim.
|
CheckNotGui
|
||||||
" CheckNotGui
|
CheckNotMSWindows
|
||||||
" CheckNotMSWindows
|
" For unknown reasons freeing all memory does not work here, even though
|
||||||
"
|
" EXITFREE is defined.
|
||||||
" let out = system('VIMRUNTIME=/tmp ' .. GetVimCommand() .. ' --clean -cq')
|
CheckNotAsan
|
||||||
" call assert_match("E1187: Failed to source defaults.vim", out)
|
|
||||||
"
|
let out = system('VIMRUNTIME=/tmp ' .. GetVimCommand() .. ' --clean -cq')
|
||||||
" let out = system('VIMRUNTIME=/tmp ' .. GetVimCommand() .. ' -u DEFAULTS -cq')
|
call assert_match("E1187: Failed to source defaults.vim", out)
|
||||||
" call assert_match("E1187: Failed to source defaults.vim", out)
|
|
||||||
"endfunc
|
let out = system('VIMRUNTIME=/tmp ' .. GetVimCommand() .. ' -u DEFAULTS -cq')
|
||||||
|
call assert_match("E1187: Failed to source defaults.vim", out)
|
||||||
|
endfunc
|
||||||
|
|
||||||
" Test the '-q [errorfile]' argument.
|
" Test the '-q [errorfile]' argument.
|
||||||
func Test_q_arg()
|
func Test_q_arg()
|
||||||
|
|||||||
@ -750,6 +750,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 */
|
||||||
|
/**/
|
||||||
|
2927,
|
||||||
/**/
|
/**/
|
||||||
2926,
|
2926,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user