# HG changeset patch # User Bram Moolenaar # Date 1661690702 -7200 # Node ID 6d44e5e9e0ce5f6d8b8d45f42ad89f1193ddc7e2 # Parent ff4f3b5f1d16b64d095eecbd305d1df919b186b9 patch 9.0.0295: GUI drop files test sometimes fails Commit: https://github.com/vim/vim/commit/00d4ceeccafb36f1337d133489b3651c11e78c30 Author: Bram Moolenaar 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. diff --git a/src/testdir/test_gui.vim b/src/testdir/test_gui.vim --- 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 DropFilesInCmdLine() call feedkeys(":\"\\", 'xt') call feedkeys('k', 'Lx!') diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -708,6 +708,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 295, +/**/ 294, /**/ 293,