From: Bram Moolenaar Date: Sat, 3 Jul 2021 19:37:59 +0000 (+0200) Subject: patch 8.2.3093: tablabel_tooltip test fails with Athena X-Git-Tag: v8.2.3093 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fb773a3e0aa9466bb953c29bad0bf4ba34461a40;p=vim 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 #8508) --- diff --git a/src/testdir/check.vim b/src/testdir/check.vim index 4c5f3eef5..d6bfe004a 100644 --- 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() +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() func CheckOption(name) diff --git a/src/testdir/test_gui.vim b/src/testdir/test_gui.vim index 762e332ed..b727372a2 100644 --- 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. diff --git a/src/version.c b/src/version.c index 0d4fc1242..3b8a50a70 100644 --- a/src/version.c +++ b/src/version.c @@ -755,6 +755,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 3093, /**/ 3092, /**/