| Commit message (Collapse) | Author | Age |
| |
|
|
|
| |
The new oldtest directory is in test/old/testdir. The reason for this is
that many tests have hardcoded the parent directory name to be
'testdir'.
|
| |
|
|
| |
I've noticed a patch 8.2.4376 that uses more Xtest directories.
Change $TMPDIR to X-test-tmpdir to avoid more future divergence.
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
| |
Forgot to remove in #17350.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Most tests here don't depend on 'set encoding=latin1'.
Skip Test_recursive_addstate() because of ASAN build.
|
| |
|
|
| |
These tests pass without 'set encoding=latin1'.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Problem: Test64 is old style.
Solution: Convert to new style test. (Yegappan Lakshmanan, closes vim/vim#5363)
https://github.com/vim/vim/commit/f9cb05c14753d984f002c0c090688f8510147e6b
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
This makes it ignored/cleaned automatically.
It was made absolute in 8821579ba, but to the root back then.
|
| |
|
|
|
|
| |
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.
|