Mercurial > vim
changeset 29914:6d44e5e9e0ce v9.0.0295
patch 9.0.0295: GUI drop files test sometimes fails
Commit: https://github.com/vim/vim/commit/00d4ceeccafb36f1337d133489b3651c11e78c30
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 28 13:38:43 2022 +0100
patch 9.0.0295: GUI drop files test sometimes fails
Problem: GUI drop files test sometimes fails.
Solution: Mark the test as flaky.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 28 Aug 2022 14:45:02 +0200 |
parents | ff4f3b5f1d16 |
children | 6717edc7d645 |
files | src/testdir/test_gui.vim src/version.c |
diffstat | 2 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/test_gui.vim +++ b/src/testdir/test_gui.vim @@ -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!')