forked from aniani/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)
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -755,6 +755,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
3093,
|
||||
/**/
|
||||
3092,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user