Patch 8.2.0534
Problem: Client-server test fails under valgrind.
Solution: Use WaitForAssert().
Files: src/testdir/test_clientserver.vim
*** ../vim-8.2.0533/src/testdir/test_clientserver.vim 2020-04-06
21:35:02.460237781 +0200
--- src/testdir/test_clientserver.vim 2020-04-08 22:55:07.710671243 +0200
***************
*** 129,135 ****
" Edit files in separate tab pages
call system(cmd .. ' --remote-tab Xfile1 Xfile2 Xfile3')
! call assert_equal('3', remote_expr(name, 'tabpagenr("$")'))
call assert_equal('Xfile2', remote_expr(name,
'bufname(tabpagebuflist(2)[0])'))
eval name->remote_send(":%bw!\<CR>")
--- 129,135 ----
" Edit files in separate tab pages
call system(cmd .. ' --remote-tab Xfile1 Xfile2 Xfile3')
! call WaitForAssert({-> assert_equal('3', remote_expr(name,
'tabpagenr("$")'))})
call assert_equal('Xfile2', remote_expr(name,
'bufname(tabpagebuflist(2)[0])'))
eval name->remote_send(":%bw!\<CR>")
*** ../vim-8.2.0533/src/version.c 2020-04-08 21:50:18.880619637 +0200
--- src/version.c 2020-04-08 22:56:04.606466478 +0200
***************
*** 740,741 ****
--- 740,743 ----
{ /* Add new patch number below this line */
+ /**/
+ 534,
/**/
--
If you only have a hammer, you tend to see every problem as a nail.
If you only have MS-Windows, you tend to solve every problem by rebooting.
/// 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/202004082057.038Kv5ES031431%40masaka.moolenaar.net.