Problem: Some tests are known to cause an error with ASAN.
Solution: Add CheckNotAsan.
97202d9516
Move CheckNotMSWindows to the right place.
Omit test_memory_usage.vim: a Lua test is used for this file.
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.
68eab67119
The test is skipped, but cherry-pick CheckNotAsan from v8.2.2424 anyway.
97202d9516
Problem: Some tests fail when run as root.
Solution: Add CheckNotRoot and use it. (James McCoy, closesvim/vim#5020)
07282f01da
Skip test_terminal.vim and test_viminfo.vim: N/A
Problem: Tests fail on Cirrus CI for FreeBSD.
Solution: Fix a test and skip some. (Christian Brabandt, closesvim/vim#5281)
9134f1ecd4
Skip test_normal.vim: already applied in #11483.
Problem: Entering a character with CTRL-V may include modifiers.
Solution: Reset "mod_mask" when entering a character with digits after
CTRL-V. (closesvim/vim#9610)
502d8ae3e8
Commenting out test_override() as before.
Commenting out part of CheckNotFeature() because Vim patch 8.2.0427
cannot be ported without breaking a lot of oldtests that check for
removed features.
Problem: Conditions for startup tests are not exactly right.
Solution: Check for type of GUI instead of MS-Windows. (Ozaki Kiichi,
closesvim/vim#7976)
f8c52e8d08
Problem: Tabpage menu and tabline not sufficiently tested.
Solution: Add tests. (Yegappan Lakshmanan, closesvim/vim#6307)
8c524f76eb
Cherry-pick Test_entering_digraph() from patch v8.2.1022.
Cherry-pick :CheckGui from patch v8.1.1826.
Problem: Not consistently giving the "is a directory" warning.
Solution: Adjust check for illegal file name and directory. (Yasuhiro
Matsumoto, closesvim/vim#7067)
c8fe645c19
Problem: Wrongly assuming Python executable is called "python".
Solution: Use detected python command. (Ken Takata, closesvim/vim#6016)
Also use CheckFunction if possible.
a161cb5ddd
CheckPython() is used only in test_terminal.vim as of patch 8.2.1794.
test_terminal.vim is no-opt in Neovim.
I ported it only for merging Vim patches.
N/A patches for version.c:
vim-patch:8.1.2239: CI fails when running tests without building Vim
Problem: CI fails when running tests without building Vim.
Solution: Skip creating doc tags if the execute does not exist.
1a577433ac
vim-patch:8.1.2242: creating docs tags uses user preferences
Problem: Creating docs tags uses user preferences. (Tony Mechelynck)
Solution: Add "--clean".
70def98a95
vim-patch:8.1.2247: "make vimtags" does not work in runtime/doc
Problem: "make vimtags" does not work in runtime/doc.
Solution: Test existence with "which" instead of "test -x". (Ken Takata)
e890b9f5dd
vim-patch:8.1.2249: "make vimtags" does not print any message
Problem: "make vimtags" does not print any message.
Solution: Add a message that the tags have been updated.
d047840ce4
vim-patch:8.1.2253: using "which" to check for an executable is not reliable
Problem: Using "which" to check for an executable is not reliable.
Solution: Use "command -v" instead. Also exit with error code when
generating tags has an error. (closesvim/vim#5174)
ad4de52510
vim-patch:8.2.0354: Python 3.9 does not define _Py_DEC_REFTOTAL
Problem: Python 3.9 does not define _Py_DEC_REFTOTAL. (Zdenek Dohnal)
Solution: Remove it, it was only for debugging.
a65bb53514
vim-patch:8.2.0603: configure does not detect moonjit
Problem: Configure does not detect moonjit.
Solution: Add check for moonjit. (Shlomi Fish, closesvim/vim#5947)
f49e564082
vim-patch:8.2.0609: configure does not detect moonjit correctly
Problem: Configure does not detect moonjit correctly.
Solution: Double the brackets. (Ozaki Kiichi)
ad4dc83389
vim-patch:8.2.1570: configure check for dirfd() does not work on HPUX
Problem: Configure check for dirfd() does not work on HPUX. (Michael Osipov)
Solution: Use AC_TRY_LINK instead of AC_TRY_COMPILE. (closesvim/vim#6838)
9d8bfae50f
vim-patch:8.2.1790: MS-Windows with Python: crash when executed from Vifm
Problem: MS-Windows with Python: crash when executed from Vifm.
Solution: Use NUL instead of CONIN. (Ken Takata, closesvim/vim#7061, closesvim/vim#7053)
794771cfd8
vim-patch:8.2.1792: Configure does not recognize Racket 6.1+
Problem: Configure does not recognize Racket 6.1+.
Solution: Add a check for "rktio". (closesvim/vim#7062)
588d241d44
Problem: Confusing skipped message.
Solution: Drop "run" from "run start the GUI".
2514315fc2
Cherry-pick 'CheckCanRunGui' user command from patch 8.1.1826.
Problem: Crash when using :center in autocommand.
Solution: Bail out early for an empty line. (Dominique pelle, closesvim/vim#5095)
396b7c78c0
Cherry-pick 'src/testdir/check.vim' changes from patch 8.1.1544.
Problem: Spell highlight is wrong at start of the line.
Solution: Fix setting the "v" variable. (closesvim/vim#5078)
7751d1d1a3
Skip spell tests in OpenBSD.
Nvim or screen likely crashed.
Revist once issue #12104 is fixed.
Skip the test for the following reasons:
- unknown regression caused by https://github.com/neovim/neovim/issues/12104
- cannot revert failing test from ed0d135247