From 00d4ceeccafb36f1337d133489b3651c11e78c30 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 28 Aug 2022 13:38:43 +0100 Subject: patch 9.0.0295: GUI drop files test sometimes fails Problem: GUI drop files test sometimes fails. Solution: Mark the test as flaky. --- src/testdir/test_gui.vim | 3 +++ src/version.c | 2 ++ 2 files changed, 5 insertions(+) (limited to 'src') diff --git a/src/testdir/test_gui.vim b/src/testdir/test_gui.vim index 1fadd5eaed..4856ae3248 100644 --- 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 index afb61e0b3f..280fcff46a 100644 --- a/src/version.c +++ b/src/version.c @@ -707,6 +707,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 295, /**/ 294, /**/ -- cgit v1.2.3