aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/Makefile
Commit message (Collapse)AuthorAge
* vim-patch:8.1.2028: options test script does not workJan Edmund Lazo2019-09-14
| | | | | | Problem: Options test script does not work. Solution: Use optiondefs.h for input. https://github.com/vim/vim/commit/d9b0d83b13d2691e4544709abd87eac004715175
* -u NONE for no syntax highlightingDaniel Hahler2019-08-22
|
* vim-patch:8.1.1476: no statistics displayed after running testsDaniel Hahler2019-08-22
| | | | | | | | | | Problem: No statistics displayed after running tests. Solution: Summarize the test results. (Christian Brabandt, closes vim/vim#4391) Also make it possible to report a skipped file. https://github.com/vim/vim/commit/9c0cec65f891492314caadeef87a50251a21e630 Removes our custom no-inits from `$(RUN_VIMTEST)`, since we have `$(NO_INITS)` now also.
* test: fix problem of breaking user's viminfo (#10824)erw72019-08-22
| | | | | | Vim turns on 'compatible' as a side effect of using the -u command line option. As a result, viminfo is not used. But that is not the case with neovim. neovim requires the -i command line option to avoid breaking user's viminfo.
* Remove test52erw72019-08-17
| | | | | | | | Test52 does nothing on UNIX. And vim on Windows performs mbyte-conversion between Unicode and code page using Windows API(See :h mbyte-conversion). Test52 seems to be testing its functionality. In neovim, the conversion function by Windows API has been removed. Therefore, there is no point in doing this test.
* Add target fixff to testdir/Makefileerw72019-08-17
| | | | | In Windows, since conversion of the line feed code is necessary, porting fixff target from Make_mingw.mak of vim.
* oldtest: more compact output with "clean" target (#10477)Daniel Hahler2019-07-12
| | | | Previously it would be displayed across multiple lines (with the escaped newlines), while this makes it display in a single line.
* test/old: run test_arglistJan Edmund Lazo2019-06-19
| | | | Run failing tests, added in vim-patch:8.1.0493.
* vim-patch:8.1.1357: test 37 is old styleJan Edmund Lazo2019-05-19
| | | | | | Problem: Test 37 is old style. Solution: Turn it into a new style test. (Yegappan Lakshmanan, closes vim/vim#4398) https://github.com/vim/vim/commit/999dc14644b8a9530ce0da22e90ca402c95c9c5a
* vim-patch:8.1.1285: test17 is old styleJan Edmund Lazo2019-05-06
| | | | | | Problem: Test17 is old style. Solution: Turn into new style test. (Yegappan Lakshmanan, closes vim/vim#4347) https://github.com/vim/vim/commit/f0ab01f6d868164ed0bb247b6f7b152e6929ef18
* test/old: remove test16 (#9949)Jan Edmund Lazo2019-04-28
| | | Vim replaced it with a test in test_gui.vim, N/A for Neovim.
* vim-patch:8.1.1214: old style tests #9948Jan Edmund Lazo2019-04-27
| | | | | | Problem: Old style tests. Solution: Move tests from test14 to new style test files. (Yegappan Lakshmanan, closes vim/vim#4308) https://github.com/vim/vim/commit/c6b37db1ba704455daa8f9e78bc1c2492fb81f40
* test/old: remove test.out filesJustin M. Keyes2019-04-27
| | | | | | | Do this for new-style tests too, because they run after the old-style tests which don't clean up their temp files. Reverts ebd251c
* test/old: force "-i viminfo" in $RUN_VIMTEST #9175 (#9175)Justin M. Keyes2018-10-31
| | | | | | | | | | | Before this change, some tests fail if the user has a local shada/viminfo in the default $HOME location. For example: TEST_FILE=test_marks.res make oldtest Ostensibly this change should not be necessary, because of this statement in runtest.vim: set viminfo+=nviminfo
* vim-patch:8.0.0708: some tests are old styleDaniel Hahler2018-09-08
| | | | | | | | Problem: Some tests are old style. Solution: Change a few tests from old style to new style. (pschuh, closes vim/vim#1813) https://github.com/vim/vim/commit/292eff0c5aacb8531d65509679b6c29eae8dc22a
* src/nvim/testdir/Makefile: define NEW_TESTS automatically (#8909)Daniel Hahler2018-08-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids having to maintain this manually. Tried to bring this upstream to Vim, but it does not work with non-GNU make apparently in an easy way (https://github.com/vim/vim/pull/3376). For Neovim GNU make can be used for this apparently. diff (generated via): $(shell printf '%s\n' $(NEW_TESTS) > 1) $(shell printf '%s\n' $(NEW_TESTS2) > 2) $(error $(shell echo $(NEW_TESTS) | wc -c) $(shell echo $(NEW_TESTS2) | wc -c)) Changes: - Removed, already included in test_alot: - test_changedtick.res - test_filter_map.res - test_findfile.res - test_ga.res - test_lambda.res - test_put.res - test_recover.res - test_tabpage.res - Added (apparently forgotten to be added to NEW_TESTS): - test_breakindent.res: added in 49b671f8f - test_display.res: added in a0c7e35ee - test_help.res, added in 41bffeacf - test_lispwords.res, added in 54b9510e0 - test_textformat.res, added in ef39f854d
* oldtests: reindent Makefile to 8-width tabJan Edmund Lazo2018-08-23
|
* vim-patch:8.0.1682: auto indenting breaks inserting a block (#8892)Jan Edmund Lazo2018-08-23
| | | | | | Problem: Auto indenting breaks inserting a block. Solution: Do not check for cursor movement if indent was changed. (Christian Brabandt, closes vim/vim#2778) https://github.com/vim/vim/commit/8c87a2b1fec85e4aac33f71586ac1514536fc66b
* vim-patch:8.0.0762: ml_get error with :psearch in buffer without a nameJan Edmund Lazo2018-08-18
| | | | | | | | Problem: ml_get error with :psearch in buffer without a name. (Dominique Pelle) Solution: Use the buffer number instead of the file name. Check the cursor position. https://github.com/vim/vim/commit/c31f9ae4f1976544522313b182957793063ee02c
* vim-patch:8.0.1209: still too many old style testsJan Edmund Lazo2018-08-15
| | | | | | | Problem: Still too many old style tests. Solution: Convert a few more tests to new style. (Yegappan Lakshmanan, closes vim/vim#2230) https://github.com/vim/vim/commit/53f0c962394dc6bc66d5b0762af9434e672d1b25
* vim-patch:8.0.0890: still many old style testsJan Edmund Lazo2018-08-06
| | | | | | Problem: Still many old style tests. Solution: Convert several tests to new style. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/75373f38087dd756babdbbf9f14fd4711712c5de
* vim-patch:8.0.1012: MS-Windows: problem with $HOME when is was set internallyJan Edmund Lazo2018-07-24
| | | | | | | | | Problem: MS-Windows: Problem with $HOME when is was set internally. Solution: Only use the $HOME default internally. (Yasuhiro Matsumoto, closes vim/vim#2013) https://github.com/vim/vim/commit/48340b62e812dc9280f621a2eb6db76d43555c66 Restore vim_getenv() behaviour for $HOME on Windows.
* vim-patch:8.0.0724: the message for yanking doesn't indicate the registerJan Edmund Lazo2018-07-17
| | | | | | | Problem: The message for yanking doesn't indicate the register. Solution: Show the register name in the "N lines yanked" message. (Lemonboy, closes vim/vim#1803, closes vim/vim#1809) https://github.com/vim/vim/commit/e45deb79978677cb41f1477ba4140bccff658fd1
* vim-patch:8.0.0{474,475,492,633,1251} (#8725)Jan Edmund Lazo2018-07-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * vim-patch:8.0.0474: the client-server feature is not tested Problem: The client-server feature is not tested. Solution: Add a test. https://github.com/vim/vim/commit/15bf76d40be1f1622ff5cc16596c308e76e2ca94 * vim-patch:8.0.0475: not enough testing for the client-server feature Problem: Not enough testing for the client-server feature. Solution: Add more tests. Add the remote_startserver() function. Fix that a locally evaluated expression uses function-local variables. https://github.com/vim/vim/commit/7416f3e73ab2c4e7ae3adc2ff6e70234f7d40d2e * vim-patch:8.0.0492: a failing client-server request can make Vim hang Problem: A failing client-server request can make Vim hang. Solution: Add a timeout argument to functions that wait. https://github.com/vim/vim/commit/81b9d0bd5c705815e903e671e81b0b05828efd9c Include src/nvim/testdir/test_clientserver.vim changes from patches 8.0.0477, 8.0.0479. * vim-patch:8.0.0633: the client-server test is still a bit flaky Problem: The client-server test is still a bit flaky. Solution: Wait a bit for the GUI to start. Check that the version number can be obtained. https://github.com/vim/vim/commit/60964f68740b8abcbb2d3f0f3aeade21d1bacb22 Include src/nvim/testdir/test_clientserver.vim changes from patches 8.0.0507, 8.0.0511. * vim-patch:8.0.1251: invalid expressin passed to WaitFor() Problem: Invalid expressin passed to WaitFor(). Solution: Check if the variable exists. https://github.com/vim/vim/commit/d97fbf171ec0e63117813da045d2a1c51a9b6f62
* vim-patch:8.0.1387: wordcount test is old styleJan Edmund Lazo2018-07-07
| | | | | | Problem: Wordcount test is old style. Solution: Change into a new style test. (Yegappan Lakshmanan, closes vim/vim#2434) https://github.com/vim/vim/commit/a703aaee4d6230ed81469ef0cb37f331bf255136
* vim-patch:8.0.1253: still too many old style testsJan Edmund Lazo2018-07-06
| | | | | | | | | | Problem: Still too many old style tests. Solution: Convert a few more tests to new style. (Yegappan Lakshmanan, closes vim/vim#2272) https://github.com/vim/vim/commit/430dc5d360166ca5bb6a73f2c87ae53e09282ecb Skip Test_tag_file_encoding. 083_tag_search_with_file_encoding_spec.lua handles the same test case.
* vim-patch:8.0.0265: ml_get error when :pydo deletes lines (#8492)Jan Edmund Lazo2018-06-07
| | | | | | | | Problem: May get ml_get error when :pydo deletes lines or switches to another buffer. (Nikolai Pavlov, issue vim/vim#1421) Solution: Check the buffer and line every time. https://github.com/vim/vim/commit/a58883b4ea0bbb813fd4dd7eb49dd6f03e3e5387 (We only include the tests, the Vim code changes are N/A for Nvim.)
* test/old: fix test filenameJustin M. Keyes2018-05-20
|
* Merge #8417 'vim-patch: 8.0.0489, 8.0.0491, 8.0.0495, 8.0.0500'Justin M. Keyes2018-05-20
|
* oldtests: win: skip test49Jan Edmund Lazo2018-04-12
| | | | | Vim doesn't test it on Windows. See https://github.com/vim/vim/blob/master/src/testdir/Make_all.mak
* Merge #8147 'Run old tests in :terminal'Justin M. Keyes2018-03-21
|\
| * oldtests: Make test output least verboseZyX2018-03-21
| | | | | | | | Also removes `-` before `rm -rf` as `-f` is supposed to already suppress error.
| * oldtests: Run old tests in :terminalZyX2018-03-18
|/ | | | | | | | | | | Reasoning: - No need to check for terminal size. - No need to mess with terminal title. - Allows old tests to timeout with the rest of the build proceeding. - Less and less messy output to travis log. - Opens a path allowing old tests run in parallel. Though last bit needs test refactoring.
* vim-patch:8.0.0222: blockwise put on multi-byte char (#8030)KunMing Xie2018-02-20
| | | | | | | | | Note: code change was covered by c2a18216114bae75b6d6a2c7f1a68db04578abce Problem: When a multi-byte character ends in a zero byte, putting blockwise text puts it before the character instead of after it. Solution: Use int instead of char for the character under the cursor. (Luchr, closes vim/vim#1403) Add a test. https://github.com/vim/vim/commit/c81299684b2b9045e56525d3da3f45e8440fbf0d
* vim-patch:8.0.1271: still too many old style testsJustin M. Keyes2018-02-12
| | | | | | | | Problem: Still too many old style tests. Solution: Convert a few more tests to new style. (Yegappan Lakshmanan, closes vim/vim#2290) https://github.com/vim/vim/commit/fb094e14c19337de824d4e6710ca6a2617930ab0
* test/old: skip encoding=latin1 testJustin M. Keyes2018-02-11
|
* vim-patch:8.0.1302: still too many old style testsJustin M. Keyes2018-02-11
| | | | | | | | Problem: Still too many old style tests. Solution: Convert a few more tests to new style. (Yegappan Lakshmanan, closes vim/vim#2326) https://github.com/vim/vim/commit/209d3874c19d73b209e7d223cf05ea22e183f408
* vim-patch:8.0.1333: some tests are run twiceJustin M. Keyes2018-02-11
| | | | | | | | Problem: Some tests are run twice. Solution: Invoked most utf8 tests only from test_alot_utf8. (Yegappan Lakshmanan, closes vim/vim#2369) https://github.com/vim/vim/commit/2c997d76034d5294c92305108357daef6feabd95
* vim-patch:8.0.0311: linebreak tests are old styleJustin M. Keyes2018-02-11
| | | | | | | | Problem: Linebreak tests are old style. Solution: Turn the tests into new style. Share utility functions. (Ozaki Kiichi, closes vim/vim#1444) https://github.com/vim/vim/commit/544d3bc9f0e494cb712a33b61558b8e8e12b1e0b
* test/old: restore test_alot_utf8.vimJustin M. Keyes2018-02-11
| | | | | | | | | | | | Needed for later Vim patches. Stub test_alot_latin.vim to avoid merge-conflict noise. vim-patch:7.4.1700 vim-patch:7.4.1734 vim-patch:7.4.1740 vim-patch:7.4.2086 vim-patch:7.4.2223 vim-patch:8.0.0250
* vim-patch:8.0.1221: still too many old style testsJustin M. Keyes2018-02-11
| | | | | | | | Problem: Still too many old style tests. Solution: Convert a few more tests to new style. (Yegappan Lakshmanan, closes vim/vim#2256) https://github.com/vim/vim/commit/15993ce9210e8b8d4bc11e1d640f6447b18d3e6c
* vim-patch:8.0.1186: still quite a few old style testsJustin M. Keyes2018-02-11
| | | | | | | Problem: Still quite a few old style tests. Solution: Convert old to new style tests. (Yegappan Lakshmanan) Avoid ringing the bell while running tests. https://github.com/vim/vim/commit/4a6fcf8047de13c7949ab2f27f7774acaec4ae4d
* vim-patch:8.0.0337: invalid memory access in :recover commandJustin M. Keyes2018-02-11
| | | | | | | | Problem: Invalid memory access in :recover command. Solution: Avoid access before directory name. (Dominique Pelle, closes vim/vim#1488) https://github.com/vim/vim/commit/c525e3a1c20f6b5d9809c8b84f80090a8e416c92
* vim-patch:8.0.0861: still many old style testsJustin M. Keyes2018-02-11
| | | | | | | | | | | Problem: Still many old style tests. Solution: Convert several tests to new style. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/4a137b45864310060410f34cb9c7d0f0231bb256 vim-patch:8.0.0862: file size test fails on MS-Windows Problem: File size test fails on MS-Windows. Solution: Set fileformat after opening new buffer. Strip CR. https://github.com/vim/vim/commit/07c043af5f054c7dfeb676414f8fa6aeda8f9c2b
* vim-patch:8.0.1158: still old style testsJustin M. Keyes2018-02-11
| | | | | | | Problem: Still old style tests. Solution: Convert serveral tests to new style. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/db51007108a6ab0671e7f7b4844557cbe647185f
* vim-patch:8.0.0440: not enough test coverage in Insert modeJustin M. Keyes2018-02-11
| | | | | | | | | [Nvim note: test_override() omitted] Problem: Not enough test coverage in Insert mode. Solution: Add lots of tests. Add test_override(). (Christian Brabandt, closes vim/vim#1521) https://github.com/vim/vim/commit/eb992cb90fd79c77ad2743459ac898e6ac3de939
* vim-patch:8.0.0358,8.0.0359 (#7832)KunMing Xie2018-01-30
| | | | | | | | | | | | | vim-patch:8.0.0358: invalid memory access in C-indent code Problem: Invalid memory access in C-indent code. Solution: Don't go over end of empty line. (Dominique Pelle, closes vim/vim#1492) https://github.com/vim/vim/commit/60629d642541a089c322e65963c0a77e5f77eb79 vim-patch:8.0.0359: 'number' and 'relativenumber' are not properly tested Problem: 'number' and 'relativenumber' are not properly tested. Solution: Add tests, change old style to new style tests. (Ozaki Kiichi, closes vim/vim#1447) https://github.com/vim/vim/commit/dc9a081712ec8c140e6d4909e9f6b03a629d32d3
* test/old: $TMPDIR must be absoluteJustin M. Keyes2018-01-28
| | | | | Internals `chdir` here and there, this causes relative $TMPDIR to break some things. Don't know why this only happened on macOS...
* test/old: always set $TMPDIRJustin M. Keyes2018-01-23
| | | | | | On macOS $TMPDIR defaults to something very long. There's not really a need to support overriding the $TMPDIR used by tests, so always use the workspace-local path "Xtest-tmpdir".
* vim-patch:8.0.0301 #7685ckelsel2018-01-21
| | | | | | | | | | | | Problem: No tests for ":set completion" and various errors of the :set command. Solution: Add more :set tests. (Dominique Pelle, closes vim/vim#1440) https://github.com/vim/vim/commit/698f8b207bbfefa1cbbd7361caf5412cb3416534 --- Also move test_options from test_alot to Makefile. (That's done upstream in Vim patch 8.0.0430.)