Patch 8.2.1036
Problem: Popupwin test fails sometimes.
Solution: Use WaitForAssert() instead of a sleep.
Files: src/testdir/test_popupwin.vim
*** ../vim-8.2.1035/src/testdir/test_popupwin.vim 2020-06-20
15:03:34.978136840 +0200
--- src/testdir/test_popupwin.vim 2020-06-22 19:23:14.779285233 +0200
***************
*** 2454,2462 ****
call term_sendkeys(termbuf2, "exit\<CR>")
" Exiting shell closes popup window
call feedkeys("exit\<CR>", 'xt')
" Wait for shell to exit
! sleep 100m
call feedkeys(":quit\<CR>", 'xt')
call assert_equal(origwin, win_getid())
endfunc
--- 2454,2464 ----
call term_sendkeys(termbuf2, "exit\<CR>")
" Exiting shell closes popup window
+ let pupwin = win_getid()
call feedkeys("exit\<CR>", 'xt')
" Wait for shell to exit
! call WaitForAssert({-> assert_notequal(pupwin, win_getid())})
!
call feedkeys(":quit\<CR>", 'xt')
call assert_equal(origwin, win_getid())
endfunc
*** ../vim-8.2.1035/src/version.c 2020-06-22 19:10:51.689755096 +0200
--- src/version.c 2020-06-22 19:24:01.611138833 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 1036,
/**/
--
"When I die, I want a tombstone that says "GAME OVER" - Ton Richters
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202006221724.05MHOmvW1442197%40masaka.moolenaar.net.