diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2022-03-07 16:57:22 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-03-07 16:57:22 +0000 |
commit | 08238045e769fce2d5bf1e17167e26eafc3d72b8 (patch) | |
tree | e3d6ecccdcf82541d10867934a0b02a9bdb7bee2 | |
parent | d8f8629b1bf566e1dada7515e9b146c69e5d9757 (diff) | |
download | vim-git-08238045e769fce2d5bf1e17167e26eafc3d72b8.tar.gz |
patch 8.2.4525: some GUI tests don't work on Athenav8.2.4525
Problem: Some GUI tests don't work on Athena.
Solution: Skip tests that won't work. (Yegappan Lakshmanan, closes #9902)
-rw-r--r-- | src/testdir/test_gui.vim | 12 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 14 insertions, 0 deletions
diff --git a/src/testdir/test_gui.vim b/src/testdir/test_gui.vim index ca81ffa4b..c2ce50d0d 100644 --- a/src/testdir/test_gui.vim +++ b/src/testdir/test_gui.vim @@ -1364,6 +1364,10 @@ endfunc " Test for generating a GUI tabline event to select a tab page func Test_gui_tabline_event() + if has('gui_athena') + throw 'Skipped: tabline is not supported in Athena GUI' + endif + %bw! edit Xfile1 tabedit Xfile2 @@ -1391,6 +1395,9 @@ endfunc " Test for generating a GUI tabline menu event to execute an action func Test_gui_tabmenu_event() + if has('gui_athena') + throw 'Skipped: tabmenu is not supported in Athena GUI' + endif %bw! " Try to close the last tab page @@ -1427,6 +1434,11 @@ endfunc " Test for find/replace text dialog event func Test_gui_findrepl() + " Find/Replace dialog is supported only on GTK, Motif and MS-Windows. + if !has('gui_gtk') && !has('gui_motif') && !has('gui_win32') + return + endif + new call setline(1, ['one two one', 'Twoo One two oneo']) diff --git a/src/version.c b/src/version.c index 450d49bf1..9693ad35c 100644 --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4525, +/**/ 4524, /**/ 4523, |