aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/check.vim
Commit message (Collapse)AuthorAge
* test: move oldtests to test directory (#22536)dundargoc2023-03-07
| | | | | 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'.
* vim-patch:8.2.0188: Check commands don't work well with Vim9 script (#21809)zeertzjq2023-01-15
| | | | | | | | Problem: Check commands don't work well with Vim9 script. Solution: Improve constant expression handling. https://github.com/vim/vim/commit/7f829cab356d63b8e59559285593777a66bcc02b Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.5145: exit test causes spurious valgrind reportszeertzjq2022-12-05
| | | | | | | | | | | Problem: Exit test causes spurious valgrind reports. Solution: Skip test. Add CheckNotValgrind. https://github.com/vim/vim/commit/cf801d4b95180ddaee1bf633ef482232625dd80b Cherry-pick RunningWithValgrind() from patch 8.2.5136. Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.3526: tests have clumsy check for X11 based GUIzeertzjq2022-12-05
| | | | | | | | | Problem: Tests have clumsy check for X11 based GUI. Solution: Add CheckX11BasedGui. https://github.com/vim/vim/commit/40bd5a15405206b130d487af0ca61b5d9b5859f8 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.3109: check for $DISPLAY never failszeertzjq2022-12-05
| | | | | | | | | Problem: Check for $DISPLAY never fails. Solution: Use eval(). https://github.com/vim/vim/commit/f6d877975ba93fc9b4bee2c5d2aff88dbf9bea59 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.3108: test for remote_foreground() failszeertzjq2022-12-05
| | | | | | | | | Problem: Test for remote_foreground() fails. (Elimar Riesebieter) Solution: Check that $DISPLAY is set. (Christian Brabandt) https://github.com/vim/vim/commit/d6fa7bd5b900dd363d3a824e0ebe3619a1634df6 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.2587: recover test fails on FreeBSDzeertzjq2022-11-17
| | | | | | | | | Problem: Recover test fails on FreeBSD. Solution: Check for Linux. https://github.com/vim/vim/commit/6635ae1437e6e343c0514524a8dfb19d9525b908 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.2627: no need to check for BSD after checking for not rootzeertzjq2022-11-06
| | | | | | | Problem: No need to check for BSD after checking for not root. Solution: Remove CheckNotBSD. (Ozaki Kiichi, closes vim/vim#7989) https://github.com/vim/vim/commit/4355894869355c185e7810e67d52802453576e81
* vim-patch:8.2.0448: various functions not properly tested (#20926)zeertzjq2022-11-04
| | | | | | | | | | Problem: Various functions not properly tested. Solution: Add more tests, especially for failures. (Yegappan Lakshmanan, closes vim/vim#5843) https://github.com/vim/vim/commit/0e05de46226eb4e5ea580beefa71831f92d613d3 Cherry-pick test changes from patch 8.2.0427 and skip Test_has(). Cherry-pick Test_complete_wildmenu() change from patch 8.2.4339.
* vim-patch:8.1.1826: tests use hand coded feature and option checkszeertzjq2022-10-26
| | | | | | | | | | | | | Problem: Tests use hand coded feature and option checks. Solution: Use the commands from check.vim in more tests. https://github.com/vim/vim/commit/8c5a278fc508da6dfe50e69b6ee734451aa4eafb Omit Test_wincolor(): there are later patches that touch that function. Omit test_memory_usage.vim: a Lua test is used for that file. Cherry-pick Test_issue_3969() from patch 8.1.0969. Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.2424: some tests are known to cause an error with ASANzeertzjq2022-07-17
| | | | | | | | | Problem: Some tests are known to cause an error with ASAN. Solution: Add CheckNotAsan. https://github.com/vim/vim/commit/97202d951685fc4d90085da676a90644cbf72571 Move CheckNotMSWindows to the right place. Omit test_memory_usage.vim: a Lua test is used for this file.
* vim-patch:8.2.4444: beep caused by testSean Dewar2022-03-14
| | | | | | | | | | Problem: Beep caused by test. ASAN reports leaks. Solution: Do not put a NL at the end of the script. Make the text work on MS-Windows. Do not run the test with ASAN. https://github.com/vim/vim/commit/68eab67119734ea1efc7cef1287276d969f2713a The test is skipped, but cherry-pick CheckNotAsan from v8.2.2424 anyway. https://github.com/vim/vim/commit/97202d951685fc4d90085da676a90644cbf72571
* vim-patch:8.1.2133: some tests fail when run as rootzeertzjq2022-02-04
| | | | | | | | Problem: Some tests fail when run as root. Solution: Add CheckNotRoot and use it. (James McCoy, closes vim/vim#5020) https://github.com/vim/vim/commit/07282f01da06c158bab4787adc89ec15d7eeb202 Skip test_terminal.vim and test_viminfo.vim: N/A
* vim-patch:8.1.2358: tests fail on Cirrus CI for FreeBSDzeertzjq2022-02-04
| | | | | | | | Problem: Tests fail on Cirrus CI for FreeBSD. Solution: Fix a test and skip some. (Christian Brabandt, closes vim/vim#5281) https://github.com/vim/vim/commit/9134f1ecd41207045db3cb47f0269497980395ad Skip test_normal.vim: already applied in #11483.
* vim-patch:8.2.4203: entering a character with CTRL-V may include modifierszeertzjq2022-01-25
| | | | | | | | | | | | | Problem: Entering a character with CTRL-V may include modifiers. Solution: Reset "mod_mask" when entering a character with digits after CTRL-V. (closes vim/vim#9610) https://github.com/vim/vim/commit/502d8ae3e8ed8b6f8dd2ff175f154f9aa87228ef Commenting out test_override() as before. Commenting out part of CheckNotFeature() because Vim patch 8.2.0427 cannot be ported without breaking a lot of oldtests that check for removed features.
* vim-patch:8.2.3093: tablabel_tooltip test fails with AthenaJan Edmund Lazo2021-07-04
| | | | | | Problem: tablabel_tooltip test fails with Athena. (Dominique Pellé) Solution: Skip the test when using Athena. (closes vim/vim#8508) https://github.com/vim/vim/commit/fb773a3e0aa9466bb953c29bad0bf4ba34461a40
* vim-patch:8.2.2611: conditions for startup tests are not exactly rightJan Edmund Lazo2021-03-17
| | | | | | | Problem: Conditions for startup tests are not exactly right. Solution: Check for type of GUI instead of MS-Windows. (Ozaki Kiichi, closes vim/vim#7976) https://github.com/vim/vim/commit/f8c52e8d08de3fdf48db877d7d53d2d68c6ceb7b
* vim-patch:8.2.0429: no warning when test checks for option that never existsJan Edmund Lazo2020-12-28
| | | | | | Problem: No warning when test checks for option that never exists. Solution: In tests check that the option can exist. https://github.com/vim/vim/commit/c5a8fdc42dbd304598b2d73db754c7b97665b182
* vim-patch:8.2.1025: tabpage menu and tabline not sufficiently testedJan Edmund Lazo2020-12-23
| | | | | | | | | Problem: Tabpage menu and tabline not sufficiently tested. Solution: Add tests. (Yegappan Lakshmanan, closes vim/vim#6307) https://github.com/vim/vim/commit/8c524f76ebd43f006e765534765b595de7095f12 Cherry-pick Test_entering_digraph() from patch v8.2.1022. Cherry-pick :CheckGui from patch v8.1.1826.
* Merge pull request #13039 from janlazo/vim-8.2.1790Jan Edmund Lazo2020-10-05
|\ | | | | vim-patch:8.1.{1812,2024,2239,2242,2247,2249,2253},8.2.{354,603,609,665,1570,1790,1792,1801}
| * vim-patch:8.2.0665: wrongly assuming Python executable is called "python"Jan Edmund Lazo2020-10-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Wrongly assuming Python executable is called "python". Solution: Use detected python command. (Ken Takata, closes vim/vim#6016) Also use CheckFunction if possible. https://github.com/vim/vim/commit/a161cb5dddd6d374899e46fde834ce9ba5c80c0b CheckPython() is used only in test_terminal.vim as of patch 8.2.1794. test_terminal.vim is no-opt in Neovim. I ported it only for merging Vim patches. N/A patches for version.c: vim-patch:8.1.2239: CI fails when running tests without building Vim Problem: CI fails when running tests without building Vim. Solution: Skip creating doc tags if the execute does not exist. https://github.com/vim/vim/commit/1a577433ac77b74a965476799619ad0fb2676d31 vim-patch:8.1.2242: creating docs tags uses user preferences Problem: Creating docs tags uses user preferences. (Tony Mechelynck) Solution: Add "--clean". https://github.com/vim/vim/commit/70def98a957620cc325d1ab6ee35f13187598693 vim-patch:8.1.2247: "make vimtags" does not work in runtime/doc Problem: "make vimtags" does not work in runtime/doc. Solution: Test existence with "which" instead of "test -x". (Ken Takata) https://github.com/vim/vim/commit/e890b9f5dd3ae76e301b2df7f3151366acaba5dc vim-patch:8.1.2249: "make vimtags" does not print any message Problem: "make vimtags" does not print any message. Solution: Add a message that the tags have been updated. https://github.com/vim/vim/commit/d047840ce4b770a86bacab0d62e72d0f61a2b8ab vim-patch:8.1.2253: using "which" to check for an executable is not reliable Problem: Using "which" to check for an executable is not reliable. Solution: Use "command -v" instead. Also exit with error code when generating tags has an error. (closes vim/vim#5174) https://github.com/vim/vim/commit/ad4de52510d5b4a949c0c9e25b5d5333744820b3 vim-patch:8.2.0354: Python 3.9 does not define _Py_DEC_REFTOTAL Problem: Python 3.9 does not define _Py_DEC_REFTOTAL. (Zdenek Dohnal) Solution: Remove it, it was only for debugging. https://github.com/vim/vim/commit/a65bb53514a1af1ec0dc5c4831dfaef69f139a48 vim-patch:8.2.0603: configure does not detect moonjit Problem: Configure does not detect moonjit. Solution: Add check for moonjit. (Shlomi Fish, closes vim/vim#5947) https://github.com/vim/vim/commit/f49e5640821d8ef752fb50d99edcf40bb62a4d4d vim-patch:8.2.0609: configure does not detect moonjit correctly Problem: Configure does not detect moonjit correctly. Solution: Double the brackets. (Ozaki Kiichi) https://github.com/vim/vim/commit/ad4dc83389931a0354c3691b42f99a5bb98c766f vim-patch:8.2.1570: configure check for dirfd() does not work on HPUX Problem: Configure check for dirfd() does not work on HPUX. (Michael Osipov) Solution: Use AC_TRY_LINK instead of AC_TRY_COMPILE. (closes vim/vim#6838) https://github.com/vim/vim/commit/9d8bfae50fdaf5f5ec6307c60ebd1fad0927c6be vim-patch:8.2.1790: MS-Windows with Python: crash when executed from Vifm Problem: MS-Windows with Python: crash when executed from Vifm. Solution: Use NUL instead of CONIN. (Ken Takata, closes vim/vim#7061, closes vim/vim#7053) https://github.com/vim/vim/commit/794771cfd83af2a0d1926bed301e784447e7290b vim-patch:8.2.1792: Configure does not recognize Racket 6.1+ Problem: Configure does not recognize Racket 6.1+. Solution: Add a check for "rktio". (closes vim/vim#7062) https://github.com/vim/vim/commit/588d241d44fc25ad4c5a635ee4fdeafdfcee0fde
* | vim-patch:8.2.1793: not consistently giving the "is a directory" warningShougo Matsushita2020-10-06
|/ | | | | | | Problem: Not consistently giving the "is a directory" warning. Solution: Adjust check for illegal file name and directory. (Yasuhiro Matsumoto, closes vim/vim#7067) https://github.com/vim/vim/commit/c8fe645c198e2ca55c4e3446efbbdb9b995c63ce
* vim-patch:8.1.2263: 'noesckeys' test fails in GUIJan Edmund Lazo2020-09-19
| | | | | | | | Problem: 'noesckeys' test fails in GUI. Solution: Skip the test in the GUI. https://github.com/vim/vim/commit/215ba3b63698f3755b2c4de66fc728cc14a8a590 Cherry-pick "CheckNotGui" command from patch 8.1.1826.
* vim-patch:8.1.1831: confusing skipped messageJan Edmund Lazo2020-08-30
| | | | | | | | Problem: Confusing skipped message. Solution: Drop "run" from "run start the GUI". https://github.com/vim/vim/commit/2514315fc2530170ad7681e45e2b6d1f0680c9eb Cherry-pick 'CheckCanRunGui' user command from patch 8.1.1826.
* vim-patch:8.1.1804: no test for display updating without a scroll regionJan Edmund Lazo2020-08-30
| | | | | | Problem: No test for display updating without a scroll region. Solution: Add a test. https://github.com/vim/vim/commit/3c8ee629745737aa231fdd123826ae021e398e49
* vim-patch:8.1.1776: text added with a job isn't displayedJan Edmund Lazo2020-08-30
| | | | | | Problem: Text added with a job to another buffer isn't displayed. Solution: Update topline after adding a line. (closes vim/vim#4745) https://github.com/vim/vim/commit/4641a122f2ffb820ec6d05526532ab38930c5286
* vim-patch:8.1.2198: crash when using :center in autocommandJan Edmund Lazo2020-08-30
| | | | | | | | Problem: Crash when using :center in autocommand. Solution: Bail out early for an empty line. (Dominique pelle, closes vim/vim#5095) https://github.com/vim/vim/commit/396b7c78c0fd9cd07528963b18c27398491df40d Cherry-pick 'src/testdir/check.vim' changes from patch 8.1.1544.
* vim-patch:8.1.2172: spell highlight is wrong at start of the lineJan Edmund Lazo2020-08-02
Problem: Spell highlight is wrong at start of the line. Solution: Fix setting the "v" variable. (closes vim/vim#5078) https://github.com/vim/vim/commit/7751d1d1a3d447d0d48f57f34e0da9f7c6ac433d Skip spell tests in OpenBSD. Nvim or screen likely crashed. Revist once issue #12104 is fixed. Skip the test for the following reasons: - unknown regression caused by https://github.com/neovim/neovim/issues/12104 - cannot revert failing test from https://github.com/neovim/neovim/commit/ed0d135247790f67ead7f1a8c21a020790e80a74