To: vim_dev@googlegroups.com Subject: Patch 8.2.5156 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///