mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.0.1219: terminal test is flaky
Problem: Terminal test is flaky. Solution: Add test function to list of flaky tests.
This commit is contained in:
parent
8d84ff1a3c
commit
f204e05ae9
@ -109,14 +109,21 @@ func RunTheTest(test)
|
|||||||
|
|
||||||
call add(s:messages, 'Executing ' . a:test)
|
call add(s:messages, 'Executing ' . a:test)
|
||||||
let s:done += 1
|
let s:done += 1
|
||||||
try
|
|
||||||
|
if a:test =~ 'Test_nocatch_'
|
||||||
|
" Function handles errors itself. This avoids skipping commands after the
|
||||||
|
" error.
|
||||||
exe 'call ' . a:test
|
exe 'call ' . a:test
|
||||||
catch /^\cskipped/
|
else
|
||||||
call add(s:messages, ' Skipped')
|
try
|
||||||
call add(s:skipped, 'SKIPPED ' . a:test . ': ' . substitute(v:exception, '^\S*\s\+', '', ''))
|
exe 'call ' . a:test
|
||||||
catch
|
catch /^\cskipped/
|
||||||
call add(v:errors, 'Caught exception in ' . a:test . ': ' . v:exception . ' @ ' . v:throwpoint)
|
call add(s:messages, ' Skipped')
|
||||||
endtry
|
call add(s:skipped, 'SKIPPED ' . a:test . ': ' . substitute(v:exception, '^\S*\s\+', '', ''))
|
||||||
|
catch
|
||||||
|
call add(v:errors, 'Caught exception in ' . a:test . ': ' . v:exception . ' @ ' . v:throwpoint)
|
||||||
|
endtry
|
||||||
|
endif
|
||||||
|
|
||||||
if exists("*TearDown")
|
if exists("*TearDown")
|
||||||
try
|
try
|
||||||
@ -233,6 +240,7 @@ let s:flaky = [
|
|||||||
\ 'Test_quoteplus()',
|
\ 'Test_quoteplus()',
|
||||||
\ 'Test_quotestar()',
|
\ 'Test_quotestar()',
|
||||||
\ 'Test_reltime()',
|
\ 'Test_reltime()',
|
||||||
|
\ 'Test_terminal_composing_unicode()',
|
||||||
\ 'Test_terminal_noblock()',
|
\ 'Test_terminal_noblock()',
|
||||||
\ 'Test_with_partial_callback()',
|
\ 'Test_with_partial_callback()',
|
||||||
\ ]
|
\ ]
|
||||||
|
@ -761,6 +761,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 */
|
||||||
|
/**/
|
||||||
|
1219,
|
||||||
/**/
|
/**/
|
||||||
1218,
|
1218,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user