Patch 8.2.5156
Problem:    Search timeout test often fails with FreeBSD.
Solution:   Double the maximum time.
Files:      src/testdir/test_search.vim


*** ../vim-8.2.5155/src/testdir/test_search.vim 2022-06-21 22:35:37.067256396 
+0100
--- src/testdir/test_search.vim 2022-06-24 20:10:59.807420379 +0100
***************
*** 379,384 ****
--- 379,388 ----
      if RunningWithValgrind()
        let max_time += 0.04  " this can be slow with valgrind
      endif
+     if has('bsd')
+       " test often fails with FreeBSD
+       let max_time = max_time * 2.0
+     endif
    endif
    let start = reltime()
    let found = searchpair('(', '', ')', 'crnm', 'SearchpairSkip()', 0, ms)
*** ../vim-8.2.5155/src/version.c       2022-06-24 12:38:33.990247436 +0100
--- src/version.c       2022-06-24 20:11:35.955322818 +0100
***************
*** 737,738 ****
--- 737,740 ----
  {   /* Add new patch number below this line */
+ /**/
+     5156,
  /**/

-- 
Q:  What's a light-year?
A:  One-third less calories than a regular year.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220624191233.81BDB1C09EA%40moolenaar.net.

Raspunde prin e-mail lui