To: vim_dev@googlegroups.com Subject: Patch 8.2.3093 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.3093 Problem: tablabel_tooltip test fails with Athena. (Dominique Pellé) Solution: Skip the test when using Athena. (closes #8508) Files: src/testdir/test_gui.vim, src/testdir/check.vim *** ../vim-8.2.3092/src/testdir/test_gui.vim 2021-06-27 19:02:48.985931140 +0200 --- src/testdir/test_gui.vim 2021-07-03 21:34:54.498950162 +0200 *************** *** 1118,1123 **** --- 1118,1125 ---- 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. *** ../vim-8.2.3092/src/testdir/check.vim 2021-03-29 20:49:01.486055361 +0200 --- src/testdir/check.vim 2021-07-03 21:37:28.578562043 +0200 *************** *** 14,19 **** --- 14,30 ---- 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) *** ../vim-8.2.3092/src/version.c 2021-07-03 19:27:32.690065101 +0200 --- src/version.c 2021-07-03 21:34:23.139029625 +0200 *************** *** 757,758 **** --- 757,760 ---- { /* Add new patch number below this line */ + /**/ + 3093, /**/ -- hundred-and-one symptoms of being an internet addict: 89. In addition to your e-mail address being on your business cards you even have your own domain. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///