Patch 8.2.2927
Problem: Test commented out because it fails with ASAN.
Solution: Only skip the test when running with ASAN.
Files: src/testdir/test_startup.vim
*** ../vim-8.2.2926/src/testdir/test_startup.vim 2021-05-29
22:25:13.539781642 +0200
--- src/testdir/test_startup.vim 2021-06-02 16:35:54.241278651 +0200
***************
*** 277,294 ****
endfunc
" Test that an error is shown when the defaults.vim file could not be read
! " TODO: disabled - this causes ASAN errors for unknown reasons
! "func Test_defaults_error()
! " " Can't catch the output of gvim.
! " CheckNotGui
! " CheckNotMSWindows
! "
! " let out = system('VIMRUNTIME=/tmp ' .. GetVimCommand() .. ' --clean -cq')
! " call assert_match("E1187: Failed to source defaults.vim", out)
! "
! " let out = system('VIMRUNTIME=/tmp ' .. GetVimCommand() .. ' -u DEFAULTS
-cq')
! " call assert_match("E1187: Failed to source defaults.vim", out)
! "endfunc
" Test the '-q [errorfile]' argument.
func Test_q_arg()
--- 277,296 ----
endfunc
" Test that an error is shown when the defaults.vim file could not be read
! func Test_defaults_error()
! " Can't catch the output of gvim.
! CheckNotGui
! CheckNotMSWindows
! " For unknown reasons freeing all memory does not work here, even though
! " EXITFREE is defined.
! CheckNotAsan
!
! let out = system('VIMRUNTIME=/tmp ' .. GetVimCommand() .. ' --clean -cq')
! call assert_match("E1187: Failed to source defaults.vim", out)
!
! let out = system('VIMRUNTIME=/tmp ' .. GetVimCommand() .. ' -u DEFAULTS
-cq')
! call assert_match("E1187: Failed to source defaults.vim", out)
! endfunc
" Test the '-q [errorfile]' argument.
func Test_q_arg()
*** ../vim-8.2.2926/src/version.c 2021-06-02 16:47:49.675250216 +0200
--- src/version.c 2021-06-02 16:49:01.879063787 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2927,
/**/
--
The Law, in its majestic equality, forbids the rich, as well as the
poor, to sleep under the bridges, to beg in the streets, and to steal
bread. -- Anatole France
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ 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/202106021450.152EoUkl2598806%40masaka.moolenaar.net.