forked from aniani/vim
patch 9.0.0019: timers test not run where possible
Problem: Timers test not run where possible. Solution: Adjust platform checks. (closes #10645)
This commit is contained in:
@@ -298,8 +298,9 @@ func Interrupt(timer)
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_timer_peek_and_get_char()
|
func Test_timer_peek_and_get_char()
|
||||||
CheckUnix
|
if !has('unix') && !has('gui_running')
|
||||||
CheckGui
|
throw 'Skipped: cannot feed low-level input'
|
||||||
|
endif
|
||||||
|
|
||||||
call timer_start(0, 'FeedAndPeek')
|
call timer_start(0, 'FeedAndPeek')
|
||||||
let intr = timer_start(100, 'Interrupt')
|
let intr = timer_start(100, 'Interrupt')
|
||||||
@@ -310,7 +311,7 @@ endfunc
|
|||||||
|
|
||||||
func Test_timer_getchar_zero()
|
func Test_timer_getchar_zero()
|
||||||
if has('win32') && !has('gui_running')
|
if has('win32') && !has('gui_running')
|
||||||
throw 'Skipped: cannot get low-level input'
|
throw 'Skipped: cannot feed low-level input'
|
||||||
endif
|
endif
|
||||||
CheckFunction reltimefloat
|
CheckFunction reltimefloat
|
||||||
|
|
||||||
|
@@ -735,6 +735,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
19,
|
||||||
/**/
|
/**/
|
||||||
18,
|
18,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user