To: vim_dev@googlegroups.com Subject: Patch 8.2.2411 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@Moolenaar.net -- 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 ///