From: Bram Moolenaar Date: Sun, 28 Aug 2022 12:38:43 +0000 (+0100) Subject: patch 9.0.0295: GUI drop files test sometimes fails X-Git-Tag: v9.0.0295 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00d4ceeccafb36f1337d133489b3651c11e78c30;p=thirdparty%2Fvim.git 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 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, /**/