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.
diff --git a/src/testdir/test_search.vim b/src/testdir/test_search.vim
index 1dce160..67d29c5 100644
--- a/src/testdir/test_search.vim
+++ b/src/testdir/test_search.vim
@@ -374,7 +374,7 @@
let ms = 1
let min_time = 0.001
let max_time = min_time * 10.0
- if GetVimCommand() =~ 'valgrind.*--log-file='
+ if RunningWithValgrind()
let max_time += 0.04 " this can be slow with valgrind
endif
endif