Skip to content

Commit

Permalink
patch 8.2.3093: tablabel_tooltip test fails with Athena
Browse files Browse the repository at this point in the history
Problem:    tablabel_tooltip test fails with Athena. (Dominique Pellé)
Solution:   Skip the test when using Athena. (closes #8508)
  • Loading branch information
brammool committed Jul 3, 2021
1 parent 7450923 commit fb773a3
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/testdir/check.vim
Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions src/testdir/test_gui.vim
Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -755,6 +755,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
3093,
/**/
3092,
/**/
Expand Down

0 comments on commit fb773a3

Please sign in to comment.