forked from aniani/vim
patch 8.2.5136: debugger test fails when run with valgrind
Problem: Debugger test fails when run with valgrind. Solution: Wait longer when using valgrind.
This commit is contained in:
@@ -288,6 +288,12 @@ func GetVimCommand(...)
|
||||
return cmd
|
||||
endfunc
|
||||
|
||||
" Return one when it looks like the tests are run with valgrind, which means
|
||||
" that everything is much slower.
|
||||
func RunningWithValgrind()
|
||||
return GetVimCommand() =~ '\<valgrind\>'
|
||||
endfunc
|
||||
|
||||
" Get the command to run Vim, with --clean instead of "-u NONE".
|
||||
func GetVimCommandClean()
|
||||
let cmd = GetVimCommand()
|
||||
|
||||
Reference in New Issue
Block a user