mirror of
https://github.com/vim/vim.git
synced 2025-09-30 04:44:14 -04:00
patch 8.2.5156: search timeout test often fails with FreeBSD
Problem: Search timeout test often fails with FreeBSD. Solution: Double the maximum time.
This commit is contained in:
@@ -379,6 +379,10 @@ func Test_searchpair_timeout_with_skip()
|
|||||||
if RunningWithValgrind()
|
if RunningWithValgrind()
|
||||||
let max_time += 0.04 " this can be slow with valgrind
|
let max_time += 0.04 " this can be slow with valgrind
|
||||||
endif
|
endif
|
||||||
|
if has('bsd')
|
||||||
|
" test often fails with FreeBSD
|
||||||
|
let max_time = max_time * 2.0
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
let start = reltime()
|
let start = reltime()
|
||||||
let found = searchpair('(', '', ')', 'crnm', 'SearchpairSkip()', 0, ms)
|
let found = searchpair('(', '', ')', 'crnm', 'SearchpairSkip()', 0, ms)
|
||||||
|
@@ -735,6 +735,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 */
|
||||||
|
/**/
|
||||||
|
5156,
|
||||||
/**/
|
/**/
|
||||||
5155,
|
5155,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user