aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/Makefile
Commit message (Collapse)AuthorAge
* 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.1420: test 49 is old stylezeertzjq2022-12-03
| | | | | | | | Problem: Test 49 is old style. Solution: Convert remaining parts to new style. Remove obsolete items. (Yegappan Lakshmanan, closes vim/vim#6683) https://github.com/vim/vim/commit/f7c4d83609acdfe0e4d0fec9413697ac97c0c3f9
* test(old): remove stray test42 files (#20966)zeertzjq2022-11-06
| | | Forgot to remove in #17350.
* vim-patch:8.2.0531: various errors not testedzeertzjq2022-10-27
| | | | | | | | | Problem: Various errors not tested. Solution: Add tests. (Yegappan Lakshmanan, closes vim/vim#5895) https://github.com/vim/vim/commit/476a613135bdc94e61c1dce8a9cbb4ab0b6dc2d1 Need to remove "F" flag from 'shortmess' as early as possible.
* test/old: run most tests in test_regexp_latin.vimJan Edmund Lazo2021-03-29
| | | | | | Most tests here don't depend on 'set encoding=latin1'. Skip Test_recursive_addstate() because of ASAN build.
* test/old: run some tests from test_listlbr.vimJan Edmund Lazo2021-03-27
| | | | These tests pass without 'set encoding=latin1'.
* test/old: test_eval_func was removedJan Edmund Lazo2021-03-27
|
* test/old: do not special-case test_autochdirJan Edmund Lazo2021-03-27
| | | | | | | | | Use "CheckFunction" for standard error message for missing "test_autochdir()". Sync test_autochdir.vim to the latest Vim commit because porting Vim patches for this file modify other files and are too tedious to port.
* vim-patch:8.1.2259: running tests may leave XfakeHOME behindJan Edmund Lazo2020-02-16
| | | | | | | Problem: Running tests may leave XfakeHOME behind. Solution: Source summarize.vim without using setup.vim. (closes vim/vim#5177) Also fix that on MS-Windows the test log isn't echoed. https://github.com/vim/vim/commit/7d2320414ffdd698c9a17d775f71e2c455c21624
* vim-patch:8.2.0010: test64 is old styleJan Edmund Lazo2019-12-16
| | | | | | Problem: Test64 is old style. Solution: Convert to new style test. (Yegappan Lakshmanan, closes vim/vim#5363) https://github.com/vim/vim/commit/f9cb05c14753d984f002c0c090688f8510147e6b
* vim-patch:8.1.2384: test 48 is old style #11509Jan Edmund Lazo2019-12-03
| | | | | | Problem: Test 48 is old style. Solution: Merge test cases into new style test. (Yegappan Lakshmanan, closes vim/vim#5307) https://github.com/vim/vim/commit/079119babe1cbba3f9234927e62fd75465f2d6b4
* oldtest: support for running by filename (#11473)Daniel Hahler2019-12-02
| | | | | | | | | | | | Follow-up to 8969efca8 (Vim patch 8.1.0723) NOTE: This changes the main entrypoint for running single oldtest files to not use/require the ".res" extension anymore. But it is handled for B/C. Adds a phony rule to run oldtest by filename. Not going through "$(MAKE)" avoids GNUmakefile being used then (which I use for WIP things), and it seems like SINGLE_MAKE should be used anyway probably.
* vim-patch:8.1.2183: running a test is a bit verboseJan Edmund Lazo2019-11-22
| | | | | | Problem: Running a test is a bit verbose. Solution: Silence some messages. (Daniel Hahler, closes vim/vim#5070) https://github.com/vim/vim/commit/ba089307bb8d18ab79a6c4a28ceb8419a72209b3
* vim-patch:8.1.1490: when a single test fails the exit code is not setJan Edmund Lazo2019-11-22
| | | | | | Problem: When a single test fails the exit code is not set. (Daniel Hahler) Solution: Add an exit command. (closes vim/vim#4506) https://github.com/vim/vim/commit/4e0bf846279f3efa6299a98143033db1fdfa143a
* vim-patch:8.1.0723: cannot easily run specific test when in src/testdirJan Edmund Lazo2019-11-22
| | | | | | | | | | | | Problem: Cannot run specific test when in src/testdir the same was as in the src directory. Solution: Move build rule to src/testdir/Makefile. https://github.com/vim/vim/commit/ec50401e1e1357a1340b3c92109fd4860e38a8ac Developer can omit '.res' suffix now. TEST_FILE=test_syntax make oldtest or make -C src/nvim/testdir test_syntax
* Makefile: use `$TMPDIR` below `src/nvim/testdir` (#11153)Daniel Hahler2019-10-04
| | | | This makes it ignored/cleaned automatically. It was made absolute in 8821579ba, but to the root back then.
* 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