aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
Commit message (Collapse)AuthorAge
...
* build: `oldtest` target: TEST_FILE, NVIM_PRG (#6098)Justin M. Keyes2017-02-12
| | | | | | | | | | | | | | | | | | | | | | - Add support for TEST_FILE to the `oldtest` target, for consistency with the busted/lua tests. Caveat: with the busted/lua tests TEST_FILE takes a full path, whereas for `oldtest` it must be "test_foo.res". - Add support for NVIM_PRG, again so that all test-related targets are consistent. - Use consistent name for NVIM_PRG. But still need to support NVIM_PROG for QuickBuild CI. Note: The `oldtest` target is driven by the top-level Makefile, because it requires a TTY. CMake 3.2 added a USES_TERMINAL flag to add_custom_target(). But we support CMake 2.8... add_custom_target(oldtest COMMAND make clean COMMAND make NVIM_PRG=$<TARGET_FILE:nvim> $ENV{MAKEOVERRIDES} DEPENDS nvim WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/src/nvim/testdir" USES_TERMINAL true )
* Merge pull request #6089 from jamessan/vim-7.4.1948James McCoy2017-02-10
|\ | | | | vim-patch:7.4.1948,7.4.1954,7.4.1962
| * vim-patch:7.4.1962James McCoy2017-02-10
| | | | | | | | | | | | | | | | Problem: Two test files for increment/decrement. Solution: Move the old style test into the new style test. (Hirohito Higashi, closes vim/vim#881) https://github.com/vim/vim/commit/52df117df724a7ad20affdf15214d2df2e507dcc
| * Re-add upstream's test_increment.vimJames McCoy2017-02-10
| |
| * vim-patch:7.4.1954James McCoy2017-02-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No test for what 7.4.1948 fixes. Solution: Add a test. (Hirohito Higashi, closes vim/vim#880) https://github.com/vim/vim/commit/d388d2ac8bf8c770bf97dc406e99a20ba5104855 Some adjustments had to be made from upstream since nvim always uses utf-8 internally. * Removed the 'set encoding=cp932' line from the test * Adjusted the expected values for getpos(), since the number of bytes is different in utf-8
* | Merge pull request #6076 from lonerover/vim-7.4.2275James McCoy2017-02-10
|\ \ | |/ |/| vim-patch: 7.4.2275,7.4.2279
| * vim-patch:7.4.2275lonerover2017-02-07
| | | | | | | | | | | | | | Problem: ":diffoff!" does not remove filler lines. Solution: Force a redraw and invalidate the cursor. (closes vim/vim#1014) https://github.com/vim/vim/commit/e67d546f3c691139e6d3d33f36724d98aec04c14
* | fix cscope test failurerover2017-02-10
| |
* | vim-patch:7.4.2295rover2017-02-10
| | | | | | | | | | | | | | Problem: Cscope test fails. Solution: Avoid checking for specific line and column numbers. https://github.com/vim/vim/commit/4792255eff03760dca0fd014616532e6d47db364
* | vim-patch:7.4.2175rover2017-02-10
| | | | | | | | | | | | | | Problem: Insufficient testing of cscope. Solution: Add more tests. (Dominique Pelle) https://github.com/vim/vim/commit/812ad4f3a2cb33002a24f6b5862c7b375cd68fe4
* | vim-patch:7.4.2159rover2017-02-10
| | | | | | | | | | | | | | Problem: Insufficient testing for cscope. Solution: Add more tests. (Dominique Pelle) https://github.com/vim/vim/commit/5971dab1126d6279c6e523f4fedc2f1e6fb9b4c9
* | vim-patch:7.4.2148rover2017-02-10
| | | | | | | | | | | | | | Problem: Not much testing for cscope. Solution: Add a test that uses the cscope program. (Christian Brabandt) https://github.com/vim/vim/commit/edf634e0f1985c5ea1afb5b480b47a44cabbce34
* | oldtest: Add vim-default for 'backspace' to runtest.vimlonerover2017-02-09
| |
* | vim-patch:7.4.2088lonerover2017-02-09
| | | | | | | | | | | | | | Problem: Keymap test fails with normal features. Solution: Bail out if the keymap feature is not supported. https://github.com/vim/vim/commit/f36213597d737ab500771e87edcf121acd55e277
* | vim-patch:7.4.2087lonerover2017-02-09
| | | | | | | | | | | | | | Problem: Digraph code test coverage is still low. Solution: Add more tests. (Christian Brabandt) https://github.com/vim/vim/commit/e25bc5abb4621c6263b0248988a207d53b57fc54
* | vim-patch:7.4.2086lonerover2017-02-09
| | | | | | | | | | | | | | | | Problem: Using the system default encoding makes tests unpredictable. Solution: Always use utf-8 or latin1 in the new style tests. Remove setting encoding and scriptencoding where it is not needed. https://github.com/vim/vim/commit/ac105ed3c420660ddbddc501c97875c48220817e
* | vim-patch:7.4.2085lonerover2017-02-09
| | | | | | | | | | | | | | Problem: Digraph tests fails on some systems. Solution: Run it separately and set 'encoding' early. https://github.com/vim/vim/commit/dfd63e30d13fff5603416b6c7e247cebeb003eb0
* | vim-patch:7.4.2084lonerover2017-02-09
| | | | | | | | | | | | | | Problem: New digraph test makes testing hang. Solution: Don't set "nocp". https://github.com/vim/vim/commit/60084333816c585d5858bc085b2942f813102ae3
* | vim-patch:7.4.2082lonerover2017-02-09
|/ | | | | | | Problem: Not much test coverage for digraphs. Solution: Add a new style digraph test. (Christian Brabandt) https://github.com/vim/vim/commit/397eadbe25370394e0dc3cb18766533a15b8d1c0
* tests: Migrate legacy test 8. #4179Lucas Hoffmann2017-02-03
| | | | | The test produces some "hit enter" prompts and error messages that had to be dealt with by `feed`ing CTRL-L to nvim.
* Merge #2990 'tests: Migrate legacy test 69.'Justin M. Keyes2017-02-03
|\
| * tests: Migrate legacy test 69.Lucas Hoffmann2016-05-23
| |
* | vim-patch:7.4.2081lonerover2017-01-19
| | | | | | | | | | | | | | Problem: Line numbers in the error list are not always adjusted. Solution: Set b_has_qf_entry properly. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/c1542744e788d96fed24dd421f43009288092504
* | vim-patch:7.4.2050lonerover2017-01-19
| | | | | | | | | | | | | | Problem: When using ":vimgrep" may end up with duplicate buffers. Solution: When adding an error list entry pass the buffer number if possible. https://github.com/vim/vim/commit/015102e91e978a0bb42a14461c132a85e8f7e1ea
* | vim-patch:7.4.2049lonerover2017-01-19
| | | | | | | | | | | | | | Problem: There is no way to get a list of the error lists. Solution: Add ":chistory" and ":lhistory". https://github.com/vim/vim/commit/f6acffbe83e622542d9fdf3066f51933e46e4954
* | vim-patch:7.4.2031 (#5955)Shougo2017-01-16
| | | | | | | | | | | | | | | | Problem: The list_lbr_utf8 test fails if ~/.vim/syntax/c.vim sets 'textwidth' to a non-zero value. (Oyvind A. Holm) Solution: Add a setup.vim file that sets 'runtimepath' and $HOME to a safe value. (partly by Christian Brabandt, closes vim/vim#912) https://github.com/vim/vim/commit/89b10421ca1aea55acbafac1df93be4e20210ceb
* | Merge #5918 'vim-patch: 7.4.2006, 7.4.2075, 7.4.2077, 7.4.2117, 7.4.2300, ↵Justin M. Keyes2017-01-16
|\ \ | | | | | | | | | 7.4.2313, 7.4.2314'.
| * | vim-patch:7.4.2314lonerover2017-01-09
| | | | | | | | | | | | | | | | | | | | | Problem: No error when deleting an augroup while it's the current one. Solution: Disallow deleting an augroup when it's the current one. https://github.com/vim/vim/commit/de653f08805dde14424d417502a0480a6ad292f8
| * | vim-patch:7.4.2313lonerover2017-01-09
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when deleting an augroup and listing an autocommand. (Dominique Pelle) Solution: Make sure deleted_augroup is valid. https://github.com/vim/vim/commit/b62cc36a600e2e1e5a1d1d484fef89898c847c4c
| * | vim-patch:7.4.2300lonerover2017-01-09
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Get warning for deleting autocommand group when the autocommand using the group is scheduled for deletion. (Pavol Juhas) Solution: Check for deleted autocommand. https://github.com/vim/vim/commit/5c80908ced601be6db7554a147cdb0f98ac8daa1
| * | vim-patch:7.4.2117lonerover2017-01-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Deleting an augroup that still has autocmds does not give a warning. The next defined augroup takes its place. Solution: Give a warning and prevent the index being used for another group name. https://github.com/vim/vim/commit/f2c4c391192cab6e923b1a418d4af09106fba25f
| * | vim-patch:7.4.2077rover2017-01-08
| | | | | | | | | | | | | | | | | | | | | Problem: Cannot update 'tabline' when a tab was closed. Solution: Add the TabClosed autocmd event. (partly by Felipe Morales) https://github.com/vim/vim/commit/12c11d553053f5a9eae9eb3c518279b12fa928c2
| * | vim-patch:7.4.2075rover2017-01-08
| | | | | | | | | | | | | | | | | | | | | Problem: No autocommand event to initialize a window or tab page. Solution: Add WinNew and TabNew events. (partly by Felipe Morales) https://github.com/vim/vim/commit/c917da4b3e8801a255dbefea8e4ed19c1c716dd8
| * | vim-patch:7.4.2006rover2017-01-08
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when using tabnext in BufUnload autocmd. (Norio Takagi) Solution: First check that the current buffer is the right one. (Hirohito Higashi) https://github.com/vim/vim/commit/30445cb6e94698d212ba866ef3e4022ac625540a
* | | test: fix syntax errorJustin M. Keyes2017-01-15
| | | | | | | | | | | | Also re-arrange the test to match Vim upstream.
* | | vim-patch:7.4.2160 (#5952)Shougo2017-01-15
| | | | | | | | | | | | | | | | | | Problem: setmatches() mixes up values. (Nikolai Pavlov) Solution: Save the string instead of reusing a shared buffer. https://github.com/vim/vim/commit/7dc5e2e486fe0287601968e535902a41a39f65bb
* | | vim-patch:7.4.1968 (#5949)Shougo2017-01-15
| | | | | | | | | | | | | | | | | | Problem: Invalid memory access with "\<C-">. Solution: Do not recognize this as a special character. (Dominique Pelle) https://github.com/vim/vim/commit/1d90a5a5af84250e226f8a9121e771f7b72aa894
* | | vim-patch:7.4.1910 (#5948)Shougo2017-01-15
| | | | | | | | | | | | | | | | | | Problem: Tests using external command to delete directory. Solution: Use delete(). https://github.com/vim/vim/commit/abc70bbf363dbbe3f2bf714102f55648a512791e
* | | vim-patch:7.4.1851 (#5947)Shougo2017-01-15
| | | | | | | | | | | | | | | | | | Problem: test_syn_attr failes when using the GUI. (Dominique Pelle) Solution: Escape the font name properly. https://github.com/vim/vim/commit/180fc2d41812c49b60224a1ca89945a002a090f5
* | | vim-patch:8.0.0121Daniel Hahler2017-01-13
| | | | | | | | | | | | | | | | | | | | | Problem: Setting 'cursorline' changes the curswant column. (Daniel Hahler) Solution: Add the P_RWINONLY flag. (closes vim/vim#1297) https://github.com/vim/vim/commit/a2477fd3490c1166522631eee53c57d34321086a
* | | vim-patch:7.4.2100James McCoy2017-01-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: "cgn" and "dgn" do not work correctly with a single character match and the replacement includes the searched pattern. (John Beckett) Solution: If the match is found in the wrong column try in the next column. Turn the test into new style. (Christian Brabandt) https://github.com/vim/vim/commit/6835dc61aebca2b602d85a9d63c449ace58683b4 Closes #5796
* | | vim-patch:7.4.2008James McCoy2017-01-10
|/ / | | | | | | | | | | | | | | Problem: evalcmd() has a confusing name. Solution: Rename to execute(). Make silent optional. Support a list of commands. https://github.com/vim/vim/commit/79815f1ec77406f2f21a618c053e5793b597db7a
* | Merge pull request #5893 from lonerover/vim-7.4.2127James McCoy2017-01-06
|\ \ | | | | | | vim-patch:7.4.2127
| * | vim-patch:7.4.2127rover2017-01-05
| | | | | | | | | | | | | | | | | | | | | | | | Problem: The short form of ":noswapfile" is ":noswap" instead of ":now". (Kent Sibilev) Solution: Only require three characters. Add a test for the short forms. https://github.com/vim/vim/commit/3bcfca3ab4db415d0e750e00204dd25a91fcee77
* | | Merge pull request #5892 from lonerover/vim-7.4.2103James McCoy2017-01-06
|\ \ \ | | | | | | | | vim-patch: 7.4.2103
| * | | vim-patch:7.4.2103lonerover2017-01-05
| |/ / | | | | | | | | | | | | | | | | | | Problem: Can't have "augroup END" right after ":au!". Solution: Check for the bar character before the command argument. https://github.com/vim/vim/commit/e99e84497b89e5f91df519790802770920ecf4fe
* / / vim-patch:7.4.2110 (#5880)lonerover2017-01-05
|/ / | | | | | | | | | | | | Problem: When there is an CmdUndefined autocmd then the error for a missing command is E464 instead of E492. (Manuel Ortega) Solution: Don't let the pointer be NULL. https://github.com/vim/vim/commit/eac784eced501c54d2c99e18a1af96cd996f3a6c
* | Merge #5872 justinmk/test_autochdirJustin M. Keyes2017-01-04
|\ \
| * | refactor: Remove VimL function `test_autochdir()`Justin M. Keyes2017-01-04
| | | | | | | | | | | | | | | | | | | | | - Eliminate global test_autochdir. - Eliminate VimL function test_autochdir() - Use a lua test instead. Fails correctly after reverting 0c4347997954 / vim-patch:7.4.2015.
| * | vim-patch:6f1d9aShougo Matsushita2017-01-02
| | | | | | | | | | | | | | | | | | Updated runtime files. https://github.com/vim/vim/commit/6f1d9a096bf22d50c727dca73abbfb8e3ff55176