| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
| |
Problem: Options test script does not work.
Solution: Use optiondefs.h for input.
https://github.com/vim/vim/commit/d9b0d83b13d2691e4544709abd87eac004715175
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
| |
In Windows, since conversion of the line feed code is necessary, porting
fixff target from Make_mingw.mak of vim.
|
| |
|
|
| |
Previously it would be displayed across multiple lines (with the escaped
newlines), while this makes it display in a single line.
|
| |
|
|
| |
Run failing tests, added in vim-patch:8.1.0493.
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Problem: Test17 is old style.
Solution: Turn into new style test. (Yegappan Lakshmanan, closes vim/vim#4347)
https://github.com/vim/vim/commit/f0ab01f6d868164ed0bb247b6f7b152e6929ef18
|
| |
|
| |
Vim replaced it with a test in test_gui.vim, N/A for Neovim.
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| | |
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Problem: Still many old style tests.
Solution: Convert several tests to new style. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/75373f38087dd756babdbbf9f14fd4711712c5de
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
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.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
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.)
|
| | |
|
| | |
|
| |
|
|
|
| |
Vim doesn't test it on Windows.
See https://github.com/vim/vim/blob/master/src/testdir/Make_all.mak
|
| |\ |
|
| | |
| |
| |
| | |
Also removes `-` before `rm -rf` as `-f` is supposed to already suppress error.
|
| |/
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
| | |
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
Problem: Still old style tests.
Solution: Convert serveral tests to new style. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/db51007108a6ab0671e7f7b4844557cbe647185f
|
| |
|
|
|
|
|
|
|
| |
[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: 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
|
| |
|
|
|
| |
Internals `chdir` here and there, this causes relative $TMPDIR to break
some things. Don't know why this only happened on macOS...
|
| |
|
|
|
|
| |
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".
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.)
|