aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/shared.vim
Commit message (Collapse)AuthorAge
* test: move oldtests to test directory (#22536)dundargoc2023-03-07
| | | | | 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'.
* test(old): change $TMPDIR from Xtest-tmpdir to X-test-tmpdir (#21346)zeertzjq2022-12-09
| | | | I've noticed a patch 8.2.4376 that uses more Xtest directories. Change $TMPDIR to X-test-tmpdir to avoid more future divergence.
* vim-patch:8.2.3564: invalid memory access when scrolling without valid ↵zeertzjq2022-12-08
| | | | | | | | | | | | | | 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>
* vim-patch:8.2.5145: exit test causes spurious valgrind reportszeertzjq2022-12-05
| | | | | | | | | | | 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>
* vim-patch:8.2.1383: test 49 is old stylezeertzjq2022-11-05
| | | | | | | | | | 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.
* vim-patch:8.1.2133: some tests fail when run as rootzeertzjq2022-02-04
| | | | | | | | 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
* test/old: partial port of patch v8.2.1.0183Jan Edmund Lazo2021-05-24
| | | | Prep for patch v8.2.0511.
* vim-patch:8.2.1961: various comments can be improvedJan Edmund Lazo2020-11-06
| | | | | | Problem: Various comments can be improved. Solution: Various comment adjustments. https://github.com/vim/vim/commit/22286895fce0e45e42126c7f2e35ebf43bc625d9
* vim-patch:8.1.1956: screenshot tests may use a different encodingJan Edmund Lazo2020-11-04
| | | | | | | | | | 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.
* vim-patch:8.2.0710: Netbeans test sometimes failsJan Edmund Lazo2020-10-14
| | | | | | Problem: Netbeans test sometimes fails. Solution: Mark any test using an external command as flaky. https://github.com/vim/vim/commit/4a070cc82e00618db279526797564cb2b4e9b060
* vim-patch:8.1.1624: when testing in the GUI may try to run gvim in a terminalJan Edmund Lazo2020-10-06
| | | | | | | 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 (#12992)Jan Edmund Lazo2020-09-27
| | | | | | | | | | | | | | 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
* vim-patch:8.1.1694: the RUN_VIM variable is longer than neededJan Edmund Lazo2020-08-30
| | | | | | 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
* vim-patch:8.1.1831: confusing skipped messageJan Edmund Lazo2020-08-30
| | | | | | | | 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.
* vim-patch:8.2.1222: using valgrind in Vim command started by test doesn't workJan Edmund Lazo2020-07-19
| | | | | | | 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
* vim-patch:8.1.1581: shared functions for testing are disorganisedJan Edmund Lazo2020-05-03
| | | | | | 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
* vim-patch:8.1.2402: typos and other small thingsJan Edmund Lazo2019-12-07
| | | | | | Problem: Typos and other small things. Solution: Small fixes. https://github.com/vim/vim/commit/f48ee3c28488f7c361732316f905ac420b3d8087
* vim-patch:8.1.0471: some tests are flaky or fail on some systemsJan Edmund Lazo2019-11-23
| | | | | | | 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
* vim-patch:8.1.1951: mouse double click test is a bit flakyJan Edmund Lazo2019-11-22
| | | | | | 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
* vim-patch:8.0.1793: no test for "vim -g"Jan Edmund Lazo2019-11-19
| | | | | | Problem: No test for "vim -g". Solution: Add a test for "-g" and "-y". https://github.com/vim/vim/commit/248be5c5de723c4e2715c574fd920b8b1a1dfebb
* vim-patch:8.0.1771: in tests, when WaitFor() fails it doesn't say whyJan Edmund Lazo2019-09-21
| | | | | | 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
* vim-patch:8.0.1697: various tests are still a bit flakyJan Edmund Lazo2019-09-02
| | | | | | Problem: Various tests are still a bit flaky. Solution: Increase the default wait time to five seconds. https://github.com/vim/vim/commit/769e9d21ac3e8dff43b9ef5e46cdc4523833b51e
* Change to use v:progpath instead of constant [skip ci]erw72019-08-18
|
* Fix test failure on Windows [skip travis]erw72019-08-17
|
* vim-patch:8.0.1179: Test_popup_and_window_resize() does not always passDaniel Hahler2019-08-13
| | | | | | | | | | | | | | | | | | | | | 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
* vim-patch:8.0.1259: search test can be flakyJan Edmund Lazo2019-06-28
| | | | | | | | 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
* vim-patch:8.0.1053: setline() does not work on startupDaniel Hahler2019-06-18
| | | | | | | 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
* vim-patch:8.0.1549: various small problems in test filesJan Edmund Lazo2019-06-15
| | | | | | Problem: Various small problems in test files. Solution: Include small changes. https://github.com/vim/vim/commit/5d7ead3bc85eefd0929bfcbb579510c8164ea1be
* vim-patch:8.0.1245: when WaitFor() has a wrong expression it just waits a ↵Jan Edmund Lazo2019-06-15
| | | | | | | | | 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
* vim-patch:8.0.0933: terminal test tries to start GUI when it's not possibleJan Edmund Lazo2019-06-13
| | | | | | 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
* vim-patch:8.0.1249: no error when WaitFor() gets an invalid wrong expressionJan Edmund Lazo2018-11-19
| | | | | | | 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
* vim-patch:8.0.0737: crash when X11 selection is very bigJan Edmund Lazo2018-11-19
| | | | | | | 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
* vim-patch:8.0.1553: find digraph to insert a character #8190lokesh11972018-10-30
| | | | | | | | 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
* vim-patch:8.0.1161rpigott2018-09-13
|
* test/old: Fix_truncated_tmpfile(): more flexibleJustin M. Keyes2018-01-23
|
* runtime: include en.utf-8.splJustin M. Keyes2018-01-15
| | | | | | | Install en.utf-8.spl by default. - Allows spell-related tests to run. - Avoids download prompt for spelllang=en users
* ci: Dump $NVIM_LOG_FILE contentsJustin M. Keyes2017-06-07
|
* vim-patch:7.4.2164 (#6326)Justin M. Keyes2017-03-21
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