aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
Commit message (Collapse)AuthorAge
...
| * vim-patch:7.4.1407Jan Edmund Lazo2019-08-24
| | | | | | | | | | | | | | | | Problem: json_encode() does not handle NaN and inf properly. (David Barnett) Solution: For JSON turn them into "null". For JS use "NaN" and "Infinity". Add isnan(). https://github.com/vim/vim/commit/f1b6ac72293e658bb6e68c5cfd926c405b1b6f34
* | vim-patch:8.1.1913: not easy to compute the space on the command line (#10845)Daniel Hahler2019-08-25
| | | | | | | | | | Problem: Not easy to compute the space on the command line. Solution: Add v:echospace. (Daniel Hahler, closes vim/vim#4732) https://github.com/vim/vim/commit/37f4cbd46f5a6f2dd3a48d5fa4324dce37e4bd6c
* | vim-patch:8.1.1924: using empty string for current buffer is unexpectedJan Edmund Lazo2019-08-24
| | | | | | | | | | | | Problem: Using empty string for current buffer is unexpected. Solution: Make the argument optional for bufname() and bufnr(). https://github.com/vim/vim/commit/a8eee21e75324d199acb1663cb5009e03014a13a
* | vim-patch:8.1.1757: text added with appendbufline() isn't displayedJan Edmund Lazo2019-08-24
|/ | | | | | Problem: Text added with appendbufline() to another buffer isn't displayed. Solution: Update topline. (partly by Christian Brabandt, closes vim/vim#4718) https://github.com/vim/vim/commit/298466629119eda501cfdf7824797f05045e67ca
* Merge #10833 from janlazo/vim-8.1.0037Justin M. Keyes2019-08-23
|\ | | | | vim-patch:8.0.1386,8.1.{37,39,187}
| * vim-patch:8.1.0187: getwininfo() and win_screenpos() return different numbersJan Edmund Lazo2019-08-23
| | | | | | | | | | | | Problem: getwininfo() and win_screenpos() return different numbers. Solution: Add one to "wincol" and "winrow" from getwininfo(). https://github.com/vim/vim/commit/7132ddc1014a4e1230f0080e418221e5843e1277
| * vim-patch:8.0.1386: cannot select modified buffers with getbufinfo()Jan Edmund Lazo2019-08-23
| | | | | | | | | | | | Problem: Cannot select modified buffers with getbufinfo(). Solution: Add the "bufmodified" flag. (Yegappan Lakshmanan, closes vim/vim#2431) https://github.com/vim/vim/commit/8e6a31df81113bbf0e4bb5324a74dc5f6c62a490
| * vim-patch:8.1.0039: cannot easily delete lines in another bufferJan Edmund Lazo2019-08-23
| | | | | | | | | | | | Problem: Cannot easily delete lines in another buffer. Solution: Add deletebufline(). https://github.com/vim/vim/commit/d79a26219d7161e9211fd144f0e874aa5f6d251e
| * vim-patch:8.1.0037: cannot easily append lines to another bufferJan Edmund Lazo2019-08-23
| | | | | | | | | | | | Problem: Cannot easily append lines to another buffer. Solution: Add appendbufline(). https://github.com/vim/vim/commit/ca851593a660f08aba5c134f90c238d4a3e983e6
* | Merge #9163 'fix crash wiping buffer after getbufinfo()'Justin M. Keyes2019-08-23
|\ \ | |/ |/|
| * free_buffer: rework b:changedtick handling #9163Justin M. Keyes2019-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Re-enable Test_BufLeave_Wipe. 66f5e5c7d7ce This is my (probably-wrong) application of Zyx's suggestion in #9163: > free_buffer_stuff() already removes changedtick. It is better to > make `free_options` a flag variable and avoid calling > buf_init_changedtick() based on some flag there: current workflow > looks weird as it first removes `b:changedtick`, then re-adds it > by calling buf_init_changedtick(), then remove again. > Also based on my understanding it looks logical to not remove > `b:changedtick`, but to *replace* it with something allocated if > needed based on examining reference count before calling > `unref_var_dict`. Because now you have key disappearing from > dictionary for no good reason. Patch-By: Nikolai Aleksandrovich Pavlov <kp-pav@yandex.ru>
* | -u NONE for no syntax highlightingDaniel Hahler2019-08-22
| |
* | vim-patch:8.1.1893: script to summarize test results can be improvedDaniel Hahler2019-08-22
| | | | | | | | | | | | | | Problem: Script to summarize test results can be improved. Solution: Use "silent" for substitute to avoid reporting number of matches. Remove duplicate "set nocp". (Daniel Hahler, closes vim/vim#4845) https://github.com/vim/vim/commit/f1e0544d413b8b2ea129db0655b4e123d54177a6
* | vim-patch:8.1.1478: still an error when running tests with the tiny versionDaniel Hahler2019-08-22
| | | | | | | | | | | | Problem: Still an error when running tests with the tiny version. Solution: Do not try reading test.log https://github.com/vim/vim/commit/18250e291a5b4b8e32229d99ccb7c895ff0ca637
* | vim-patch:8.1.1477: test summary fails in the tiny versionDaniel Hahler2019-08-22
| | | | | | | | | | | | Problem: Test summary fails in the tiny version. Solution: set 'nocompatible'. https://github.com/vim/vim/commit/c7500f9cb5b9fbedb9f1a385fdc3790335054bd3
* | vim-patch:8.1.1488: summary of tests has incorrect failed countDaniel Hahler2019-08-22
| | | | | | | | | | | | Problem: Summary of tests has incorrect failed count. Solution: Add to the failed count instead of setting it. (Christian Brabandt) https://github.com/vim/vim/commit/150f0550f45b836200a189e4d34417f4d3467455
* | 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.
* | vim-patch:8.1.1483: skipped tests are not properly listedDaniel Hahler2019-08-22
| | | | | | | | | | | | | | | | | | | | Problem: Skipped tests are not properly listed. Solution: Throw a "Skipped" exception instead of using ":finish" or ":return". https://github.com/vim/vim/commit/5d30ff19648d2ff0696cea97582b902f6a4ec0ba Skips quite some (N/A) tests. vim-patch:8.1.0503: missing change to diff test (included in cf1ffa916)
* | vim-patch:8.1.0811: too many #ifdefsDaniel Hahler2019-08-22
| | | | | | | | | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, the final chapter. https://github.com/vim/vim/commit/30276f2beb248557c6b33cd5418bca8b7084b0a5
* | 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.
* | vim-patch:8.1.0888: the a: dict is not immutable as documented (#10819)Abdelhakeem Osama2019-08-21
| | | | | | | | | | | | Problem: The a: dict is not immutable as documented. Solution: Make the a:dict immutable, add a test. (Ozaki Kiichi, Yasuhiro Matsumoto, closes vim/vim#3929) https://github.com/vim/vim/commit/31b816042fca879b11965ddd75287732563ba698
* | fixup! test/functional/helpers.lua: env: forward also TSAN_OPTIONS/MSAN_OPTIONSDaniel Hahler2019-08-21
| |
* | src/nvim/testdir/runnvim.vim: improve escaping of non-printablesDaniel Hahler2019-08-21
| |
* | oldtest: windows: revert setting shellslash individually (#10189)Daniel Hahler2019-08-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Revert "oldtests: win: shellslash for cdpath,tags,:find" This reverts commit 6245b4873d5e24fade9aadadf32645bfb3ebfc31. * Revert "oldtests: set shellslash for ":cd" test" This reverts commit eba1ebafe554fcf6dcd8c933f53b43ca9c5b3b6a. * Revert "oldtests: set shellslash in Test_shellescape()" This reverts commit e428fc4b52d986fec0d544e371b05e8c7e18db93. * Revert "fixup! vim-patch:8.0.1782: no simple way to label quickfix entries" This reverts commit ac1fbc28601a05cdca19f868449c86b8dd70328c. * Revert "test/old: pass Test_statusline on Windows" This reverts commit 6efa3bff09afb0e54ad71278ac60259bf41be286. * Revert "oldtests: set shellslash for Test_non_zero_arg" This reverts commit 42e1e2495cc51f659d505bfec8b72905c19e4094. * Revert "oldtests: set shellslash in Test_true_false_arg()" This reverts commit 8bd194f98aaf8d79886b78f4bd29f9525c1459c8. * Remove unnecessary set shellslash Since #10679 no longer requires individual set shellslash, it is removed. Co-Authored-By: erw7 <erw7.github@gmail.com>
* | vim-patch:8.1.1890: ml_get error when deleting fold markerJan Edmund Lazo2019-08-19
| | | | | | | | | | | | | | | | Problem: Ml_get error when deleting fold marker. Solution: Check that the line number is not below the last line. Adjust the fold when deleting the empty line. (Christian Brabandt, closes vim/vim#4834) https://github.com/vim/vim/commit/9a4a8c4d5993c6371486c895a515c2ad351e9aaa
* | Unreserve :X #10807Julian Berman2019-08-18
| | | | | | closes #10806
* | Merge #10679 from erw7/fix-oldtest-on-windowsJustin M. Keyes2019-08-18
|\ \
| * | Change to use v:progpath instead of constant [skip ci]erw72019-08-18
| | |
| * | Fix test failure on Windows [skip travis]erw72019-08-17
| | |
| * | Change value of cpo [skip travis]erw72019-08-17
| | | | | | | | | | | | | | | set cpo+=S was added because the test failed because the cpo value was different from vim(See #10730).
| * | 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.
| * | Change test execution conditionserw72019-08-17
| | | | | | | | | | | | | | | Since neovim needs iconv to process cp932, it changes the test execution condition.
| * | 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.
| * | Remove code that is no longer needed by set shellslasherw72019-08-17
| | |
| * | Change to set shellslash to test under same conditions as vimerw72019-08-17
| | |
* | | Merge #10800 from janlazo/vim-8.1.1870Justin M. Keyes2019-08-18
|\ \ \ | | | | | | | | vim-patch:8.1.{1679,1839,1870}
| * | | vim-patch:8.1.1839: insufficient info when test fails because of screen sizeJan Edmund Lazo2019-08-17
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Insufficient info when test fails because of screen size. Solution: Report the detected screen size. https://github.com/vim/vim/commit/0b5dc644465c549ac54fe3c4ad232dd692000d26
| * | | vim-patch:8.1.1679: test using SwapExists autocommand file may failJan Edmund Lazo2019-08-17
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Test using SwapExists autocommand file may fail. Solution: Remove the SwapExists autocommand. https://github.com/vim/vim/commit/eaa49e40d7e7f84deef14424c84ef1da0796fa58
| * | | vim-patch:8.1.1870: using :pedit from a help file sets help filetypeJan Edmund Lazo2019-08-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using :pedit from a help file sets the preview window to help filetype. (Wang Shidong) Solution: Do not set "keep_help_flag". (closes vim/vim#3536) https://github.com/vim/vim/commit/026587b35c42301bcc2214207346b62ef2efed41
* | | | CI/OpenBSD: run oldtest #10797Edd Barrett2019-08-18
|/ / / | | | | | | - Test_libcall_libcallnr: pass libc name to dlopen.
* | | vim-patch:8.1.1860: map timeout test is flakyJan Edmund Lazo2019-08-16
| | | | | | | | | | | | | | | | | | Problem: Map timeout test is flaky. Solution: Add test to list of flaky tests. Increase timeout. https://github.com/vim/vim/commit/ea94c855163cf58a3389b5f3c54a0767c9e1be49
* | | vim-patch:8.1.1858: test for multi-byte mapping fails on some systemsJan Edmund Lazo2019-08-16
| | | | | | | | | | | | | | | | | | Problem: Test for multi-byte mapping fails on some systems. Solution: Test in another way. https://github.com/vim/vim/commit/2f710afe7f166973c879bf7424678ba84368c1bb
* | | vim-patch:8.1.1857: cannot use modifier with multi-byte characterJan Edmund Lazo2019-08-16
|/ / | | | | | | | | | | | | Problem: Cannot use modifier with multi-byte character. Solution: Allow using a multi-byte character, although it doesn't work everywhere. https://github.com/vim/vim/commit/c8fd33d18b49c3246f33782dd7b4a1c87504dd5f
* | vim-patch:8.1.1854: now another timer test is flaky #10791Jan Edmund Lazo2019-08-16
| | | | | | | | | | Problem: Now another timer test is flaky. Solution: Add test to list of flaky tests. https://github.com/vim/vim/commit/973d5304a44c974e74e43c3790f8919b7d4193b4
* | vim-patch:8.1.1852: timers test is flaky #10788Jan Edmund Lazo2019-08-16
| | | | | | | | | | Problem: Timers test is flaky. Solution: Accept a larger count. Add test to list of flaky tests. https://github.com/vim/vim/commit/7e6feb9eeb095ec424430ff4332c77f70372ce62
* | ci: Travis: check logs for TSan also (#10775)Daniel Hahler2019-08-14
| | | | | | | | | | | | | | Uses `cat -A` with early "*San" check: This prints terminal escape sequences as-is (for debugging), and does not cause (display) issues with the Travis log. Ref: https://github.com/neovim/neovim/pull/10591#issuecomment-521248233
* | tests: include `timer_start` in duration #10772Daniel Hahler2019-08-14
| | | | | | | | This should not make much of a difference, but increases the timeout when `load_factor` is used slightly.
* | vim-patch:8.1.0456: running test hangs when the input file is being edited ↵Daniel Hahler2019-08-14
| | | | | | | | | | | | | | (#10764) Problem: Running test hangs when the input file is being edited. Solution: Use a SwapExists autocommand to ignore editing the test script. https://github.com/vim/vim/commit/d8f27b30d6ec0bcfcb8f44c6201e36c003d1ce88
* | vim-patch:8.1.1842: test listed as flaky should no longer be flakyDaniel Hahler2019-08-13
| | | | | | | | | | | | | | Problem: Test listed as flaky should no longer be flaky. Solution: Remove Test_popup_and_window_resize from the list of flaky tests. (Daniel Hahler, close vim/vim#4807) https://github.com/vim/vim/commit/9570aacdb82c1eb5645d0fbc35bf9728d7334b23
* | vim-patch:8.0.1179: Test_popup_and_window_resize() does not always passDaniel Hahler2019-08-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Test_popup_and_window_resize() does not always pass. Solution: Do not use $VIMPROG, pass the Vim executable in the vimcmd file. (Ozaki Kiichi, closes vim/vim#2186) https://github.com/vim/vim/commit/631820536e4084e01bf990f9314ec385b60b21d7 vim-patch:8.0.1526: no test using a screen dump yet Problem: No test using a screen dump yet. Solution: Add a test for C syntax highlighting. Add helper functions. https://github.com/vim/vim/commit/da65058a9c4774dc534c7ae98d24c58b5db669fa NOTE: uses modified `GetVimProg()` (which is used with skipped tests only (mostly because of `!has('terminal')`)). Vim uses a 'vimcmd' file, while Nvim uses `$NVIM_TEST_ARGX` environment variables. Ref: https://github.com/vim/vim/pull/4806