]> granicus.if.org Git - vim/commitdiff
patch 8.2.4525: some GUI tests don't work on Athena v8.2.4525
authorYegappan Lakshmanan <yegappan@yahoo.com>
Mon, 7 Mar 2022 16:57:22 +0000 (16:57 +0000)
committerBram Moolenaar <Bram@vim.org>
Mon, 7 Mar 2022 16:57:22 +0000 (16:57 +0000)
Problem:    Some GUI tests don't work on Athena.
Solution:   Skip tests that won't work. (Yegappan Lakshmanan, closes #9902)

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

index ca81ffa4b3a8fbcc0ee7a2a03955b7ae6936075c..c2ce50d0d1d3d7389ae70664bbc49e618b7f60fa 100644 (file)
@@ -1364,6 +1364,10 @@ endfunc
 
 " Test for generating a GUI tabline event to select a tab page
 func Test_gui_tabline_event()
+  if has('gui_athena')
+    throw 'Skipped: tabline is not supported in Athena GUI'
+  endif
+
   %bw!
   edit Xfile1
   tabedit Xfile2
@@ -1391,6 +1395,9 @@ endfunc
 
 " Test for generating a GUI tabline menu event to execute an action
 func Test_gui_tabmenu_event()
+  if has('gui_athena')
+    throw 'Skipped: tabmenu is not supported in Athena GUI'
+  endif
   %bw!
 
   " Try to close the last tab page
@@ -1427,6 +1434,11 @@ endfunc
 
 " Test for find/replace text dialog event
 func Test_gui_findrepl()
+  " Find/Replace dialog is supported only on GTK, Motif and MS-Windows.
+  if !has('gui_gtk') && !has('gui_motif') && !has('gui_win32')
+    return
+  endif
+
   new
   call setline(1, ['one two one', 'Twoo One two oneo'])
 
index 450d49bf17928ac2214646b0e738c163caab71af..9693ad35cf114bf86a360e0bbddb091c4ab9fb91 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4525,
 /**/
     4524,
 /**/