]> granicus.if.org Git - vim/commitdiff
patch 8.2.0763: GUI test fails without the terminal feature v8.2.0763
authorBram Moolenaar <Bram@vim.org>
Fri, 15 May 2020 20:46:44 +0000 (22:46 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 15 May 2020 20:46:44 +0000 (22:46 +0200)
Problem:    GUI test fails without the terminal feature.
Solution:   Check the terminal feature is supported. (Ken Takata,
            closes #6084)

src/testdir/test_gui.vim
src/version.c

index 64b24bfc79ee5cefd7de6d7528e7c39117948efc..28782f00c087a44f528c19d85cc3331bfac5dbc3 100644 (file)
@@ -841,6 +841,7 @@ endfunc
 " Test for "!" option in 'guioptions'. Use a terminal for running external
 " commands
 func Test_gui_run_cmd_in_terminal()
+  CheckFeature terminal
   let save_guioptions = &guioptions
   set guioptions+=!
   if has('win32')
index 90773d3f9a5543d8a7849cc4572fd8f0341cf4b7..94db9b888dd99ba6d349ede44f148f8bd7075a09 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    763,
 /**/
     762,
 /**/