Patch 8.2.2411
Problem: Profile test fails on MS-Windows.
Solution: Do the profiling in a separate Vim command.
Files: src/testdir/test_profile.vim
*** ../vim-8.2.2410/src/testdir/test_profile.vim 2021-01-25
21:01:45.077861178 +0100
--- src/testdir/test_profile.vim 2021-01-26 12:04:41.506002002 +0100
***************
*** 593,603 ****
enddef
def Crash()
enddef
! prof start /tmp/profile.log
prof func Func
Func()
END
call CheckScriptSuccess(lines)
endfunc
--- 593,608 ----
enddef
def Crash()
enddef
! prof start Xprofile_crash.log
prof func Func
Func()
END
+ call writefile(lines, 'Xprofile_crash.vim')
+ call system(GetVimCommandClean() . ' -es -c "so Xprofile_crash.vim" -c q')
+ call assert_equal(0, v:shell_error)
call CheckScriptSuccess(lines)
+ call delete('Xprofile_crash.vim')
+ call delete('Xprofile_crash.log')
endfunc
*** ../vim-8.2.2410/src/version.c 2021-01-25 23:02:35.244235390 +0100
--- src/version.c 2021-01-26 12:05:36.453899773 +0100
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2411,
/**/
--
Married is a three ring circus:
First comes the engagement ring.
Then comes the wedding ring.
Then comes the suffering.
/// 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/202101261107.10QB7DXb3372032%40masaka.moolenaar.net.