diff options
author | Ken Takata <kentkt@csc.jp> | 2024-07-15 19:52:25 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-07-15 19:52:25 +0200 |
commit | 490c1daa2484772d78d059f6eed91bd6f4fd0f39 (patch) | |
tree | 82cb93b4e881f0cfb5561a7eae878352047701b8 | |
parent | 700cf8cfa1e926e2ba676203b3ad90c2c2083f1d (diff) |
patch 9.1.0587: tests: Test_gui_lowlevel_keyevent is still flakyv9.1.0587
Problem: tests: Test_gui_lowlevel_keyevent is still flaky
(after v9.1.0571)
Solution: skip generating key event for Ctrl-C,
remove the test_is_flaky variable again (Ken Takata)
v9.1.0571 was not enough.
Ctrl-C interruption may occur before the preceding events are processed.
Exclude Ctrl-C to avoid the flakiness.
closes: #15224
Signed-off-by: Ken Takata <kentkt@csc.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
-rw-r--r-- | src/testdir/test_gui.vim | 4 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/testdir/test_gui.vim b/src/testdir/test_gui.vim index eefebff48b..ae65310627 100644 --- a/src/testdir/test_gui.vim +++ b/src/testdir/test_gui.vim @@ -1706,10 +1706,10 @@ endfunc func Test_gui_lowlevel_keyevent() CheckMSWindows new - let g:test_is_flaky = 1 " Test for <Ctrl-A> to <Ctrl-Z> keys - for kc in range(65, 90) + " FIXME: <Ctrl-C> is excluded for now. It makes the test flaky. + for kc in range(65, 66) + range(68, 90) call SendKeys([0x11, kc]) try let ch = getcharstr() diff --git a/src/version.c b/src/version.c index 428cd04f27..9ce9c8f7af 100644 --- a/src/version.c +++ b/src/version.c @@ -705,6 +705,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 587, +/**/ 586, /**/ 585, |