forked from aniani/vim
patch 9.0.0295: GUI drop files test sometimes fails
Problem: GUI drop files test sometimes fails. Solution: Mark the test as flaky.
This commit is contained in:
@@ -1430,9 +1430,12 @@ func Test_gui_drop_files()
|
||||
%bw!
|
||||
%argdelete
|
||||
call delete('Xdir1', 'rf')
|
||||
|
||||
" drop files in the command line. The GUI drop files adds the file names to
|
||||
" the low level input buffer. So need to use a cmdline map and feedkeys()
|
||||
" with 'Lx!' to process it in this function itself.
|
||||
" This sometimes fails, e.g. when using valgrind.
|
||||
let g:test_is_flaky = 1
|
||||
cnoremap <expr> <buffer> <F4> DropFilesInCmdLine()
|
||||
call feedkeys(":\"\<F4>\<CR>", 'xt')
|
||||
call feedkeys('k', 'Lx!')
|
||||
|
@@ -707,6 +707,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
295,
|
||||
/**/
|
||||
294,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user