aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/Makefile
Commit message (Collapse)AuthorAge
* Merge #7444 'vim-patch: test :profile'Justin M. Keyes2017-10-29
|\
| * vim-patch:8.0.0189ckelsel2017-10-27
| | | | | | | | | | | | | | Problem: There are no tests for the :profile command. Solution: Add tests. (Dominique Pelle, closes vim/vim#1383) https://github.com/vim/vim/commit/296b1f28ca9cedeb55872f306808b2214b519ce7
* | vim-patch:8.0.0206 (#7446)KunMing Xie2017-10-28
|/ | | | | | Problem: Test coverage for :retab insufficient. Solution: Add test for :retab. (Dominique Pelle, closes vim/vim#1391) https://github.com/vim/vim/commit/8822744b4d9d40aa1fd59870a8bdd7c64c59a42b
* oldtest: Run test_mksession_utf8 testsJames McCoy2017-09-27
|
* vim-patch:8.0.0294 (#7305)Michael Schupikov2017-09-23
| | | | | | | | | | Problem: Argument list is not stored correctly in a session file. (lgpasquale) Solution: Use "$argadd" instead of "argadd". (closes vim/vim#1434) https://github.com/vim/vim/commit/79da563cf9220b9abb83455a68d995684133ea56 Signed-off-by: Michael Schupikov <michael@schupikov.de>
* Merge #6364 'command-line color hook'Justin M. Keyes2017-08-16
|\
| * Merge branch 'master' into colored-cmdlineZyX2017-07-31
| |\
| * | oldtests: Use $(TOOL) in place of $(VALGRIND)ZyX2017-07-16
| | |
* | | oldtest: use TMPDIRJustin M. Keyes2017-08-09
| | |
* | | vim-patch:8.0.0086 (#7118)lonerover2017-08-06
| |/ |/| | | | | | | | | Problem: Cannot add a comment after ":hide". (Norio Takagi) Solution: Make it work, add a test. (Hirohito Higashi) https://github.com/vim/vim/commit/2256c9947164229c0960803e2a2992b793c23298
* | oldtests: Run nvim using --headless to avoid requesting user inputJames McCoy2017-07-30
|/ | | | | | | | | | | | | Certain functions (e.g. feedkeys(…, 'x!') and input()) will attempt to read from stdin, which shouldn't be expected to work during oldtests. In Debian/Ubuntu's build environment, it explicitly can't work because /dev/null is redirected to stdin, which causes read_error_exit() to exit. Running oldtests with --headless prevents nvim from setting up its input handling, thus avoiding the problem altogether. Reference #6794
* vim-patch:7.4.2189ckelsel2017-07-13
| | | | | | | | | | | | https://github.com/vim/vim/commit/f71d7b9ee5ceba75f70c30845332ddd728fd16c6 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Aug 9 22:14:05 2016 +0200 patch 7.4.2189 Problem: Cannot detect encoding in a fifo. Solution: Extend the stdin way of detecting encoding to fifo. Add a test for detecting encoding on stdin and fifo. (Ken Takata)
* vim-patch:7.4.2356 (#6880)Shougo2017-06-19
| | | | | | | Problem: Reading past end of line when using previous substitute pattern. (Dominique Pelle) Solution: Don't set "pat" only set "searchstr". https://github.com/vim/vim/commit/ea683da58cf9ecf3afab9d650d3d2da76e5298d3
* Merge remote-tracking branch 'origin/master' into vim-7.4.1975James McCoy2017-06-06
|\
| * vim-patch:8.0.0360James McCoy2017-06-06
| | | | | | | | | | | | | | Problem: Sometimes VimL is used, which is confusing. Solution: Consistently use "Vim script". (Hirohito Higashi) https://github.com/vim/vim/commit/b544f3c81f1e6a50322855681ac266ffaa8e313c
* | vim-patch:7.4.1975James McCoy2017-06-04
|/ | | | | | | | | | | Problem: On MS-Windows large files (> 2Gbyte) cause problems. Solution: Use "off_T" instead of "off_t". Use "stat_T" instead of "struct stat". Use 64 bit system functions if available. (Ken Takata) https://github.com/vim/vim/commit/8767f52fbfd4f053ce00a978227c95f1d7d323fe Only the off_T changes are relevant, since all the "struct stat" usage is abstracted by libuv.
* vim-patch:7.4.2343 and mark NA patches (#6384)lonerover2017-03-29
| | | | | | | | | | vim-patch:7.4.2343 Problem: Too many old file tests. Solution: Turn several into new style tests. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/53f1673cd909eb1c809c6a9086e3d104a0df9bed
* vim-patch:7.4.2307lonerover2017-03-27
| | | | | | | Problem: Several tests are old style. Solution: Turn them into new style tests. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/cd055da370114f66c960be9c8b1eb0f33a9e0a85
* vim-patch:8.0.0485Justin M. Keyes2017-03-22
| | | | | | | | | Problem: Not all windows commands are tested. Solution: Add more tests for windows commands. (Dominique Pelle, closes vim/vim#1575) Run test_autocmd separately, it interferes with other tests. Fix tests that depended on side effects. https://github.com/vim/vim/commit/4520d440c59034452d1450b27fcd56825c090687
* test/legacy: Makefile Add missing testsJustin M. Keyes2017-03-22
| | | | | These tests aren't in test_alot.vim, so they need to be added to the Makefile or they won't be run.
* vim-patch:8.0.0019Justin M. Keyes2017-03-22
| | | | | | Problem: Test_command_count is old style. Solution: Turn it into a new style test. (Naruhiko Nishino) Use more assert functions.
* vim-patch:7.4.2315raichoo2017-03-19
| | | | | | | Problem: Insufficient testing for Normal mode commands. Solution: Add a big test. (Christian Brabandt, closes vim/vim#1029) https://github.com/vim/vim/commit/87bc3f74598ae8c648957e5755000cc6cdbc89ce
* vim-patch:7.4.2305lonerover2017-03-13
| | | | | | | Problem: Marks, writefile and nested function tests are old style. Solution: Turn them into new style tests. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/19a1669ffc796e30a83c5600f82f12ebf63a2261
* vim-patch:7.4.1981 (#6192)lonerover2017-03-02
| | | | | | Problem: No testing for Farsi code. Solution: Add a minimal test. Clean up Farsi code. https://github.com/vim/vim/commit/ee2615af64fdcee87d8e4b13b65356e77fbd969b
* vim-patch:7.4.2098James McCoy2017-02-27
| | | | | | | Problem: Text object tests are old style. Solution: Turn them into new style tests. (James McCoy, closes vim/vim#941) https://github.com/vim/vim/commit/00b24be454800f544676aa8850fb4378a568901e
* Allow lambdas to be used with jobs, timers and dictwatchers.Michael Ennen2017-02-14
|
* vim-patch:7.4.2044Michael Ennen2017-02-14
| | | | | | | | Problem: filter() and map() either require a string or defining a function. Solution: Support lambda, a short way to define a function that evaluates an expression. (Yasuhiro Matsumoto, Ken Takata) https://github.com/vim/vim/commit/069c1e7fa9f45a665064f7f2c17da84d6a48f544
* vim-patch:7.4.1989Michael Ennen2017-02-14
| | | | | | | | Problem: filter() and map() only accept a string argument. Solution: Implement using a Funcref argument (Yasuhiro Matsumoto, Ken Takata) https://github.com/vim/vim/commit/b33c7eb5b813cb631b2b0ca5c4029e1788a09bde
* ci: Do not use `oldtest` target on Travis. (#6101)Justin M. Keyes2017-02-13
| | | | | | | | | We must invoke src/nvim/testdir/Makefile directly. Explained in 3d1084f264ed08ed75d038510e2e53359d8544eb: > Running tests from the top-level Makefile will use the third-party > dependencies from .deps instead of the ones from the Travis cache. If we could run `oldtest` with CMake, we would not need to do this. Need USES_TERMINAL feature (CMake 3.2+) for that.
* 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 )
* 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
* 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
* 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.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
* | 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
* | vim-patch:7.4.2204James McCoy2016-12-28
| | | | | | | | | | | | | | | | | | Problem: It is not easy to get information about buffers, windows and tabpages. Solution: Add getbufinfo(), getwininfo() and gettabinfo(). (Yegappan Lakshmanan) https://github.com/vim/vim/commit/b5ae48e9ffd3b8eb6ca4057de11f1bddcde8ce6f
* | vim-patch:7.4.2183James McCoy2016-12-28
| | | | | | | | | | | | | | Problem: Sign tests are old style. Solution: Turn them into new style tests. (Dominique Pelle) https://github.com/vim/vim/commit/09de17536dd84e43aed7a575183e320e8d980b68
* | test: quickfix: Move upstream vim quickfix test to src/nvim/testdirJames McCoy2016-12-27
| | | | | | | | | | Massaging the upstream patches for this test into the lua tests are too cumbersome and slow down patching.
* | vim-patch:7.4.2123lonerover2016-12-22
| | | | | | | | | | | | | | Problem: No new style test for diff mode. Solution: Add a test. Check that folds are in sync. https://github.com/vim/vim/commit/42093c0ec52e6ff29e80aae65ac6a744c7de79bb
* | vim-patch:7.4.2163Michael Ennen2016-12-06
| | | | | | | | | | | | | | Problem: match() and related functions tested with old style test. Solution: Convert to new style test. (Hirohito Higashi) https://github.com/vim/vim/commit/d76a0c15f8bdbc901015879177fd5076d34c7a06
* | build: Make clean targets more thoroughJames McCoy2016-12-02
| |
* | vim-patch:7.4.1923Michael Ennen2016-11-23
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Command line editing is not tested much. Solution: Add tests for expanding the file name and 'wildmenu'. https://github.com/vim/vim/commit/ae3150ec8d9da4a244acffebea55416946ca23d3 The test_cmdline.vim tests were ported in 23f591dba078fee16a and thus should have marked 1923 as applied. The test_cmdline.vim invocation has been moved from test_alot.vim to src/nvim/testdir/Makefile to better accord with the upstream code.
* | vim-patch:7.4.1494Patrick2016-10-18
| | | | | | | | | | | | | | | | | | Problem: clr_history() does not work properly. Solution: Increment hisptr. Add a test. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/119d4693e06e68d4f099aa7287e375ae3d265fd0 Note: Only added a test. The change to `histptr` had already been made.
* | vim-patch:7.4.1740Nova2016-09-22
| | | | | | | | | | | | | | | | Problem: syn-cchar defined with matchadd() does not appear if there are no other syntax definitions which matches buffer text. Solution: Check for startcol. (Ozaki Kiichi, haya14busa, closes vim/vim#757) https://github.com/vim/vim/commit/4d585022023b96f6507e8cae5ed8fc8d926f5140
* | tests: migrate legacy test 12. #4196Lucas Hoffmann2016-09-18
| |
* | Merge #5254 from KillTheMule/vim-7.4.1952Justin M. Keyes2016-09-18
|\ \ | | | | | | vim-patch:7.4.{1952, 1990, 2033, 2284}