| Commit message (Collapse) | Author | Age |
| |
|
|
|
| |
The new oldtest directory is in test/old/testdir. The reason for this is
that many tests have hardcoded the parent directory name to be
'testdir'.
|
| |
|
|
|
|
|
|
|
|
|
| |
Problem: Exit test causes spurious valgrind reports.
Solution: Skip test. Add CheckNotValgrind.
https://github.com/vim/vim/commit/cf801d4b95180ddaee1bf633ef482232625dd80b
Cherry-pick RunningWithValgrind() from patch 8.2.5136.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
|
|
|
|
| |
Problem: This doesn't give the right result: eval(string(v:true)). (Nikolay
Pavlov)
Solution: Make the string "v:true" instead of "true".
https://github.com/vim/vim/commit/f48aa160fdd7b8caa7678e1a2139244dd2bdc547
|
| |
|
|
|
|
|
|
| |
Problem: Resetting cmdwin_type only for one situation.
Solution: Reset cmdwin_type before closing windows. (closes vim/vim#9822)
https://github.com/vim/vim/commit/6a8b13614e5bcb233d20403ae9f008ccba152be3
Move the check to win_free_all to match Vim.
|
| |
|
|
|
|
| |
Problem: Exit test fails on MS-Windows anyway.
Solution: Skip the test on MS-Windows.
https://github.com/vim/vim/commit/29a9e6971849b4a9eabf14fee1130d51cecfbaa7
|
| |
|
|
|
|
|
|
|
|
| |
Problem: Beep caused by test. ASAN reports leaks.
Solution: Do not put a NL at the end of the script. Make the text work on
MS-Windows. Do not run the test with ASAN.
https://github.com/vim/vim/commit/68eab67119734ea1efc7cef1287276d969f2713a
The test is skipped, but cherry-pick CheckNotAsan from v8.2.2424 anyway.
https://github.com/vim/vim/commit/97202d951685fc4d90085da676a90644cbf72571
|
| |
|
|
|
|
| |
Problem: Test for error reading input fails on MS-Windows.
Solution: Don't run the test on MS-Windows.
https://github.com/vim/vim/commit/70b9e4f4c3a62e325fd16ac108bd12feb026ede5
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Crash on exit when using cmdline window.
Solution: Reset "cmdwin_type" before exiting. (closes vim/vim#9817)
https://github.com/vim/vim/commit/ca0c1caa36823ea8e61184268d7337e79995352f
Bram also went with the cmdwin_type = 0 solution, but putting it in
read_error_exit isn't ideal and only fixes one specific variant of the bug, so
don't port that change.
Port the test only, but skip it as Nvim does not exit after stdin is exhausted.
Using -es instead does exit, but read_error_exit does not run preserve_exit in
that case, and does not have issues exiting even without resetting cmdwin_type.
Note that the test has problems and is fixed in later patches.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#13981)
Problem: Can't get the exit value in VimLeave or VimLeavePre autocommands.
Solution: Add v:exiting like in Neovim. (Yegappan Lakshmanan, closes vim/vim#7395)
https://github.com/vim/vim/commit/f0068c5154a99b86b2c4515a4b93c003b2445cf4
Rearrange VimVarIndex enums and vimvars[] entries to sync with Vim.
N/A patches for version.c:
vim-patch:8.2.2535: MS-Windows: cannot run all vim9 tests
Problem: MS-Windows: cannot run all vim9 tests.
Solution: Make test_vim9 target work.
https://github.com/vim/vim/commit/723ef5db980b2e69ef8bdc0dd448cb645491c464
|
| |
|
|
|
|
| |
Problem: ExitPre autocommand may cause accessing freed memory.
Solution: Check the window pointer is still valid. (closes vim/vim#5093)
https://github.com/vim/vim/commit/34ba06b6e6f94bb46062e6c85dbfdcbb0d255ada
|
| |
|
|
|
|
| |
Problem: Code and data in tests can be hard to read.
Solution: Use the new heredoc style. (Yegappan Lakshmanan, closes vim/vim#4400)
https://github.com/vim/vim/commit/c79745a82faeb5a6058e915ca49a4c69fa60ea01
|
|
|
Problem: No autocommand triggered before exiting.
Solution: Add the ExitPre autocommand event.
https://github.com/vim/vim/commit/12a96de430779b88795fac87a2be666d9f661d1e
|