changeset 25112:c39a64bc5ca2 v8.2.3093

patch 8.2.3093: tablabel_tooltip test fails with Athena Commit: https://github.com/vim/vim/commit/fb773a3e0aa9466bb953c29bad0bf4ba34461a40 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 3 21:37:59 2021 +0200 patch 8.2.3093: tablabel_tooltip test fails with Athena Problem: tablabel_tooltip test fails with Athena. (Dominique Pell?) Solution: Skip the test when using Athena. (closes https://github.com/vim/vim/issues/8508)
author Bram Moolenaar <Bram@vim.org>
date Sat, 03 Jul 2021 21:45:03 +0200
parents 21bf9393bbb7
children 151b80262c05
files src/testdir/check.vim src/testdir/test_gui.vim src/version.c
diffstat 3 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/check.vim
+++ b/src/testdir/check.vim
@@ -14,6 +14,17 @@ func CheckFeature(name)
   endif
 endfunc
 
+" Command to check for the absence of a feature.
+command -nargs=1 CheckNotFeature call CheckNotFeature(<f-args>)
+func CheckNotFeature(name)
+  if !has(a:name, 1)
+    throw 'Checking for non-existent feature ' .. a:name
+  endif
+  if has(a:name)
+    throw 'Skipped: ' .. a:name .. ' feature present'
+  endif
+endfunc
+
 " Command to check for the presence of a working option.
 command -nargs=1 CheckOption call CheckOption(<f-args>)
 func CheckOption(name)
--- a/src/testdir/test_gui.vim
+++ b/src/testdir/test_gui.vim
@@ -1118,6 +1118,8 @@ func TestGuiTabToolTip()
 endfunc
 
 func Test_gui_tablabel_tooltip()
+  CheckNotFeature gui_athena
+
   %bw!
   " Removing the tabline at the end of this test, reduces the window height by
   " one. Save and restore it after the test.
--- a/src/version.c
+++ b/src/version.c
@@ -756,6 +756,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    3093,
+/**/
     3092,
 /**/
     3091,