Patch 8.2.4525

6 views
Skip to first unread message

Bram Moolenaar

unread,
Mar 7, 2022, 11:59:07 AM3/7/22
to vim...@googlegroups.com

Patch 8.2.4525
Problem: Some GUI tests don't work on Athena.
Solution: Skip tests that won't work. (Yegappan Lakshmanan, closes #9902)
Files: src/testdir/test_gui.vim


*** ../vim-8.2.4524/src/testdir/test_gui.vim 2022-03-06 22:21:33.694883719 +0000
--- src/testdir/test_gui.vim 2022-03-07 12:27:09.656983732 +0000
***************
*** 1364,1369 ****
--- 1364,1373 ----

" 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,1396 ****
--- 1395,1403 ----

" 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,1432 ****
--- 1434,1444 ----

" 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'])

*** ../vim-8.2.4524/src/version.c 2022-03-07 15:16:11.461689545 +0000
--- src/version.c 2022-03-07 16:57:05.859147600 +0000
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 4525,
/**/

--
hundred-and-one symptoms of being an internet addict:
195. Your cat has its own home page.

/// Bram Moolenaar -- Br...@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 ///
Reply all
Reply to author
Forward
0 new messages