diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-11-12 18:18:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-12 18:18:28 +0800 |
commit | ad3568a70167ceb870931650afb7dcaed88640ec (patch) | |
tree | 50a918af0743beecd966add3c897c3eb6f415955 | |
parent | c6b317dd13ffe28158ba6083daa01fc26510f9b1 (diff) | |
download | rneovim-ad3568a70167ceb870931650afb7dcaed88640ec.tar.gz rneovim-ad3568a70167ceb870931650afb7dcaed88640ec.tar.bz2 rneovim-ad3568a70167ceb870931650afb7dcaed88640ec.zip |
vim-patch:9.0.2101: CI: test_termdebug may still fail (#26003)
Problem: CI: test_termdebug may still fail
Solution: use term_wait() to make it more robust
closes: vim/vim#13529
https://github.com/vim/vim/commit/fdbadea4b60e5e1a0bf192dc5ee04d8ab06f4399
Co-authored-by: shane.xb.qian <shane.qian@foxmail.com>
-rw-r--r-- | test/old/testdir/test_termdebug.vim | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/old/testdir/test_termdebug.vim b/test/old/testdir/test_termdebug.vim index f13850cb62..dca514db6e 100644 --- a/test/old/testdir/test_termdebug.vim +++ b/test/old/testdir/test_termdebug.vim @@ -97,6 +97,7 @@ func Test_termdebug_basic() bw! endif set columns=160 + call Nterm_wait(gdb_buf) let winw = winwidth(0) Var if winwidth(0) < winw @@ -114,11 +115,9 @@ func Test_termdebug_basic() bw! endif set columns& + call Nterm_wait(gdb_buf) wincmd t - " Nvim: stop GDB process and process pending events - call chanclose(&channel) - call wait(0, '0') quit! redraw! call WaitForAssert({-> assert_equal(1, winnr('$'))}) |