Patch 9.0.0019

6 views
Skip to first unread message

Bram Moolenaar

unread,
Jul 1, 2022, 2:12:00 PM7/1/22
to vim...@googlegroups.com

Patch 9.0.0019
Problem: Timers test not run where possible.
Solution: Adjust platform checks. (closes #10645)
Files: src/testdir/test_timers.vim


*** ../vim-9.0.0018/src/testdir/test_timers.vim 2022-01-20 20:59:26.000000000 +0000
--- src/testdir/test_timers.vim 2022-07-01 19:09:44.214114770 +0100
***************
*** 298,305 ****
endfunc

func Test_timer_peek_and_get_char()
! CheckUnix
! CheckGui

call timer_start(0, 'FeedAndPeek')
let intr = timer_start(100, 'Interrupt')
--- 298,306 ----
endfunc

func Test_timer_peek_and_get_char()
! if !has('unix') && !has('gui_running')
! throw 'Skipped: cannot feed low-level input'
! endif

call timer_start(0, 'FeedAndPeek')
let intr = timer_start(100, 'Interrupt')
***************
*** 310,316 ****

func Test_timer_getchar_zero()
if has('win32') && !has('gui_running')
! throw 'Skipped: cannot get low-level input'
endif
CheckFunction reltimefloat

--- 311,317 ----

func Test_timer_getchar_zero()
if has('win32') && !has('gui_running')
! throw 'Skipped: cannot feed low-level input'
endif
CheckFunction reltimefloat

*** ../vim-9.0.0018/src/version.c 2022-07-01 16:35:38.406031649 +0100
--- src/version.c 2022-07-01 19:10:43.233750185 +0100
***************
*** 737,738 ****
--- 737,740 ----
{ /* Add new patch number below this line */
+ /**/
+ 19,
/**/

--
hundred-and-one symptoms of being an internet addict:
34. You laugh at people with a 10 Mbit connection.

/// 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