| 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'.
|
|
|
|
| |
I've noticed a patch 8.2.4376 that uses more Xtest directories.
Change $TMPDIR to X-test-tmpdir to avoid more future divergence.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
screen (#21335)
vim-patch:8.2.3564: invalid memory access when scrolling without valid screen
Problem: Invalid memory access when scrolling without a valid screen.
Solution: Do not set VALID_BOTLINE in w_valid.
https://github.com/vim/vim/commit/777e7c21b7627be80961848ac560cb0a9978ff43
Remove -Z flag when using RunVim().
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
|
|
|
|
|
|
|
|
|
|
| |
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: Test 49 is old style.
Solution: Convert test cases to new style. (Yegappan Lakshmanan,
closes vim/vim#6638)
https://github.com/vim/vim/commit/9470a4d88acf948af1596101527b3a505f8c14e9
Cherry-pick AssertException() from patch 8.2.1146.
|
|
|
|
|
|
|
|
| |
Problem: Some tests fail when run as root.
Solution: Add CheckNotRoot and use it. (James McCoy, closes vim/vim#5020)
https://github.com/vim/vim/commit/07282f01da06c158bab4787adc89ec15d7eeb202
Skip test_terminal.vim and test_viminfo.vim: N/A
|
|
|
|
| |
Prep for patch v8.2.0511.
|
|
|
|
|
|
| |
Problem: Various comments can be improved.
Solution: Various comment adjustments.
https://github.com/vim/vim/commit/22286895fce0e45e42126c7f2e35ebf43bc625d9
|
|
|
|
|
|
|
|
|
|
| |
Problem: Screenshot tests may use a different encoding. (Dominique Pelle)
Solution: Always set 'encoding' to "utf-8" when running Vim in a terminal.
(closes vim/vim#4884)
https://github.com/vim/vim/commit/0fdddeeb66bbe326860ddfc573eba42f6487bbda
Comment out the encoding change in shared.vim
because Neovim always uses utf-8 for internal character encoding.
|
|
|
|
|
|
| |
Problem: Netbeans test sometimes fails.
Solution: Mark any test using an external command as flaky.
https://github.com/vim/vim/commit/4a070cc82e00618db279526797564cb2b4e9b060
|
|
|
|
|
|
|
| |
Problem: When testing in the GUI may try to run gvim in a terminal.
Solution: Add the -v argument. (Yee Cheng Chin, closes vim/vim#4605) Don't skip
tests that work now.
https://github.com/vim/vim/commit/0d702028feb859e6bde9a0c943d398d86294beb7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
vim-patch:8.2.1754: completion with spell checking not tested
Problem: Completion with spell checking not tested.
Solution: Add a test case. (Dominique Pellé, closes vim/vim#7024)
https://github.com/vim/vim/commit/8c7ad3631af570f68b2da2658cf966a9a19cb6c4
Cherry-pick GetMessages() from patch 8.2.0666.
Comment out the code that checks for "Messages maintainer:" line
because Neovim's ":messages" command does not output it
and patches for the "methods" feature (ie. foo->bar) are not ported yet.
https://github.com/neovim/neovim/pull/5160
|
|
|
|
|
|
| |
Problem: The RUN_VIM variable is longer than needed.
Solution: Shorten RUN_VIM. (Daniel Hahler, closes vim/vim#4643)
https://github.com/vim/vim/commit/41a82604453080d0011f281532582d3bd360df4a
|
|
|
|
|
|
|
|
| |
Problem: Confusing skipped message.
Solution: Drop "run" from "run start the GUI".
https://github.com/vim/vim/commit/2514315fc2530170ad7681e45e2b6d1f0680c9eb
Cherry-pick 'CheckCanRunGui' user command from patch 8.1.1826.
|
|
|
|
|
|
|
| |
Problem: When using valgrind a Vim command started by a test uses the same
log file name which gets overwritten.
Solution: Fix regexp to rename the log file.
https://github.com/vim/vim/commit/657a826c07b4ea3f8846b6acb2c50b82c2d81e50
|
|
|
|
|
|
| |
Problem: Shared functions for testing are disorganised.
Solution: Group finctions in script files. (Ozaki Kiichi, closes vim/vim#4573)
https://github.com/vim/vim/commit/7a39dd7f00239059ce34660611589b26126a550c
|
|
|
|
|
|
| |
Problem: Typos and other small things.
Solution: Small fixes.
https://github.com/vim/vim/commit/f48ee3c28488f7c361732316f905ac420b3d8087
|
|
|
|
|
|
|
| |
Problem: Some tests are flaky or fail on some systems.
Solution: Increase waiting time for port number. Use "cmd /c" to execute
"echo" on win32. (Ken Takata, closes vim/vim#3534)
https://github.com/vim/vim/commit/453ce7c16b1001f23f2281b259176c6a00d82999
|
|
|
|
|
|
| |
Problem: Mouse double click test is a bit flaky.
Solution: Add to list of flaky tests. Update a couple of comments.
https://github.com/vim/vim/commit/f1699968baf3619a4147b44c891ba4a0985e7656
|
|
|
|
|
|
| |
Problem: No test for "vim -g".
Solution: Add a test for "-g" and "-y".
https://github.com/vim/vim/commit/248be5c5de723c4e2715c574fd920b8b1a1dfebb
|
|
|
|
|
|
| |
Problem: In tests, when WaitFor() fails it doesn't say why. (James McCoy)
Solution: Add WaitForAssert(), which produces an assert error when it fails.
https://github.com/vim/vim/commit/50182fa84e20a0547f3e2bd6683ef799fcd27855
|
|
|
|
|
|
| |
Problem: Various tests are still a bit flaky.
Solution: Increase the default wait time to five seconds.
https://github.com/vim/vim/commit/769e9d21ac3e8dff43b9ef5e46cdc4523833b51e
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Test_popup_and_window_resize() does not always pass.
Solution: Do not use $VIMPROG, pass the Vim executable in the vimcmd file.
(Ozaki Kiichi, closes vim/vim#2186)
https://github.com/vim/vim/commit/631820536e4084e01bf990f9314ec385b60b21d7
vim-patch:8.0.1526: no test using a screen dump yet
Problem: No test using a screen dump yet.
Solution: Add a test for C syntax highlighting. Add helper functions.
https://github.com/vim/vim/commit/da65058a9c4774dc534c7ae98d24c58b5db669fa
NOTE: uses modified `GetVimProg()` (which is used with skipped tests only
(mostly because of `!has('terminal')`)).
Vim uses a 'vimcmd' file, while Nvim uses `$NVIM_TEST_ARGX` environment
variables.
Ref: https://github.com/vim/vim/pull/4806
|
|
|
|
|
|
|
|
| |
Problem: Search test can be flaky.
Solution: Use WaitFor() instead of a delay. Make it possible to pass a
funcref to WaitFor() to avoid the need for global variables.
(James McCoy, closes vim/vim#2282)
https://github.com/vim/vim/commit/13deab8d08145c1f6e2a3e82cb547bc7f87a3686
|
|
|
|
|
|
|
| |
Problem: setline() does not work on startup. (Manuel Ortega)
Solution: Do not check for ml_mfp to be set for the current buffer.
(Christian Brabandt)
https://github.com/vim/vim/commit/9d954207e2cc807b475bb04f8b59ef5bb3772d99
|
|
|
|
|
|
| |
Problem: Various small problems in test files.
Solution: Include small changes.
https://github.com/vim/vim/commit/5d7ead3bc85eefd0929bfcbb579510c8164ea1be
|
|
|
|
|
|
|
|
|
| |
second (#10233)
Problem: When WaitFor() has a wrong expression it just waits a second,
which goes unnoticed. (James McCoy)
Solution: When WaitFor() times out throw an exception. Fix places where the
expression was wrong.
https://github.com/vim/vim/commit/3e1c617d49224038a820ee2c552ebe31a84aaa89
|
|
|
|
|
|
| |
Problem: Terminal test tries to start GUI when it's not possible.
Solution: Check if the GUI can run. (James McCoy, closes vim/vim#1971)
https://github.com/vim/vim/commit/9f0139a2a869b0804e5b91a65e3d5952c9091879
|
|
|
|
|
|
|
| |
Problem: No error when WaitFor() gets an invalid wrong expression.
Solution: Do not ignore errors in evaluationg the expression. Fix places
where the expression was wrong.
https://github.com/vim/vim/commit/c20e0d52071a3f6e12321ec3344024faa4695da9
|
|
|
|
|
|
|
| |
Problem: Crash when X11 selection is very big.
Solution: Use static items instead of allocating them. Add callbacks.
(Ozaki Kiichi)
https://github.com/vim/vim/commit/cdb7e1b7f9e18a7b165ff09103a9994f84966123
|
|
|
|
|
|
|
|
| |
Problem: Cannot see what digraph is used to insert a character.
Solution: Show the digraph with the "ga" command. (Christian Brabandt)
https://github.com/vim/vim/commit/5f73ef8d20070cd45c9aea4dc33c2e0657f5515c
close #8190
|
| |
|
| |
|
|
|
|
|
|
|
| |
Install en.utf-8.spl by default.
- Allows spell-related tests to run.
- Avoids download prompt for spelllang=en users
|
| |
|
|
Problem: It is not possible to use plugins in an "after" directory to tune
the behavior of a package.
Solution: First load plugins from non-after directories, then packages and
finally plugins in after directories.
Reset 'loadplugins' before executing --cmd arguments.
https://github.com/vim/vim/commit/66459b7c98c67f8a9d39de8f08e8e8f1fca0e359
vim-patch:7.4.2172
vim-patch:7.4.2169
vim-patch:7.4.2177
vim-patch:7.4.2178
vim-patch:7.4.2184
vim-patch:8.0.0050
vim-patch:8.0.0105
vim-patch:8.0.0400
vim-patch:8.0.0405
Closes #6034
|