patch 9.0.0574: timer garbage collect test hangs on Mac M1

Problem:    Timer garbage collect test hangs on Mac M1.
Solution:   Properly check for Mac M1 and skip the test.
This commit is contained in:
Bram Moolenaar
2022-09-24 14:49:07 +01:00
parent 81fd3b2b44
commit 140f6d0eda
2 changed files with 8 additions and 1 deletions

View File

@ -381,7 +381,12 @@ endfunc
" vgetc(). " vgetc().
func Test_nocatch_timer_garbage_collect() func Test_nocatch_timer_garbage_collect()
" FIXME: why does this fail only on MacOS M1? " FIXME: why does this fail only on MacOS M1?
CheckNotMacM1 try
CheckNotMacM1
catch /Skipped/
let g:skipped_reason = v:exception
return
endtry
" 'uptimetime. must be bigger than the timer timeout " 'uptimetime. must be bigger than the timer timeout
set ut=200 set ut=200

View File

@ -699,6 +699,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 */
/**/
574,
/**/ /**/
573, 573,
/**/ /**/