changeset 30459:300e973cb91d v9.0.0565

patch 9.0.0565: cscope test causes problems with test timeout timer Commit: https://github.com/vim/vim/commit/dfa8be4944b49c228d401e788aaade47b4abb658 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Sep 23 23:19:18 2022 +0100 patch 9.0.0565: cscope test causes problems with test timeout timer Problem: Cscope test causes problems when code for test timeout timer is included (even when commented out). Solution: Disable part of the cscope test for now.
author Bram Moolenaar <Bram@vim.org>
date Sat, 24 Sep 2022 00:30:07 +0200
parents 394b612ec507
children 8c035617ee5a
files src/testdir/test_cscope.vim src/version.c
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_cscope.vim
+++ b/src/testdir/test_cscope.vim
@@ -243,7 +243,8 @@ func Test_cscopeWithCscopeConnections()
 
     " Test: 'csprg' option
     " Skip this with valgrind, it causes spurious leak reports
-    if !RunningWithValgrind()
+    " FIXME: this causes failures when timers are used
+    if !RunningWithValgrind() && 0
       call assert_equal('cscope', &csprg)
       set csprg=doesnotexist
       call assert_fails('cscope add Xcscope2.out', 'E262:')
--- a/src/version.c
+++ b/src/version.c
@@ -700,6 +700,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    565,
+/**/
     564,
 /**/
     563,