1
0
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:
Bram Moolenaar
2022-06-19 20:13:56 +01:00
parent 0f0d3a7fb6
commit e366ed4f2c
4 changed files with 11 additions and 3 deletions

View File

@@ -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()