neovim/test/old/testdir
zeertzjq 2503de4c92 vim-patch:8.2.3984: debugger test fails
Problem:    Debugger test fails.
Solution:   Adjust the test for modified debugging of a for loop.

3d0da09bb2

Co-authored-by: Bram Moolenaar <Bram@vim.org>
2023-11-13 06:59:10 +08:00
..
crash vim-patch:9.0.1848: [security] buffer-overflow in vim_regsub_both() (#25001) 2023-09-03 13:47:55 +08:00
pyxfile test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
samples test(old): move memfile_test.c to test/old/ (#22567) 2023-03-08 10:46:09 +08:00
sautest/autoload vim-patch:8.2.1398: autoload script sourced twice if sourced directly (#22622) 2023-03-11 21:29:25 +08:00
check.vim vim-patch:9.0.0607: verbose echo message test fails on Mac OS 2023-09-29 06:07:27 +08:00
dotest.in test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
load.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
Make_all.mak test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
Makefile vim-patch:9.0.0560: elapsed time since testing started is not visible 2023-04-19 11:29:35 +08:00
mouse.vim vim-patch:partial:8.2.1235: Not all mouse codes covered by tests 2023-04-28 17:55:44 +08:00
README.txt test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
runnvim.sh test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
runnvim.vim ci: bump to windows 2022 2023-03-11 22:56:16 +01:00
runtest.vim vim-patch:9.0.2058: tests: avoid error when no swap files exist (#25735) 2023-10-21 18:14:32 +08:00
screendump.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
script_util.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
setup.vim vim-patch:9.0.1791: No tests for the termdebug plugin 2023-11-09 07:05:21 +08:00
shared.vim test(old): remove workaround for TSAN CI (#24834) 2023-08-22 20:03:03 +08:00
suite.sh test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
summarize.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
term_util.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test1.in test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test1.ok test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_alot_latin.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_alot_utf8.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_alot.vim vim-patch:9.0.0892: may redraw when not needed 2023-05-02 13:11:47 +02:00
test_arabic.vim vim-patch:9.0.2092: tests: failure in test_arabic 2023-11-05 21:56:56 +01:00
test_arglist.vim vim-patch:9.0.0380: deleting files in tests is a hassle 2023-08-22 18:56:43 +08:00
test_assert.vim vim-patch:9.0.0380: deleting files in tests is a hassle 2023-08-22 18:56:43 +08:00
test_autochdir.vim vim-patch:9.0.0411: only created files can be cleaned up with one call 2023-04-16 15:04:41 +08:00
test_autocmd.vim vim-patch:9.0.2075: TextChangedI may not always trigger (#25808) 2023-10-28 10:42:18 +08:00
test_autoload.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_backspace_opt.vim feat(options)!: remove compatible behaviours for vim 5.0 and earlier 2023-07-17 14:27:21 +01:00
test_backup.vim vim-patch:9.0.0391: using separate delete() call instead of writefile() 'D' flag 2023-08-22 18:56:43 +08:00
test_blob.vim vim-patch:8.2.3908: cannot use a script-local function for 'foldtext' 2023-08-17 13:14:32 +08:00
test_blockedit.vim vim-patch:9.0.0612: blockedit test passes with wrong result 2023-05-04 12:29:07 +08:00
test_breakindent.vim vim-patch:9.0.1800: Cursor position still wrong with 'showbreak' and virtual text 2023-08-28 06:02:01 +08:00
test_buffer.vim vim-patch:9.0.0415: on MS-Windows some tests are flaky 2023-08-22 18:56:43 +08:00
test_bufline.vim vim-patch:9.0.0837: append() reports failure when not appending anything 2023-08-22 18:56:43 +08:00
test_bufwintabinfo.vim vim-patch:8.2.0634: crash with null partial and blob 2023-04-15 13:48:30 +08:00
test_cd.vim vim-patch:8.2.0634: crash with null partial and blob 2023-04-15 13:48:30 +08:00
test_cdo.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_changedtick.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_changelist.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_charsearch_utf8.vim vim-patch:9.0.1555: setcharsearch() does not clear last searched char properly (#23631) 2023-05-15 08:04:23 +08:00
test_charsearch.vim vim-patch:9.0.1555: setcharsearch() does not clear last searched char properly (#23631) 2023-05-15 08:04:23 +08:00
test_checkpath.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_cindent.vim vim-patch:9.0.1426: indent wrong after "export namespace" in C++ (#22777) 2023-03-25 09:27:42 +08:00
test_cjk_linebreak.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_clientserver.vim vim-patch:8.2.3518: Test_xrestore sometimes fails 2023-08-21 15:35:08 +08:00
test_close_count.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_cmdline.vim vim-patch:9.0.2035: [security] use-after-free with wildmenu (#25687) 2023-10-17 22:43:42 +08:00
test_cmdwin.vim vim-patch:9.0.1726: incorrect heights in win_size_restore() (#24765) 2023-08-17 23:16:19 +01:00
test_codestyle.vim vim-patch:9.0.1335: no test for bad use of spaces in help files (#24483) 2023-07-25 20:58:09 +08:00
test_command_count.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_comments.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_comparators.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_compiler.vim vim-patch:9.0.1931: make test_compilers fails on ubuntu 2023-09-25 05:54:38 +08:00
test_conceal.vim vim-patch:9.0.1745: Missing test coverage for blockwise Visual highlight (#24790) 2023-08-19 20:34:58 +08:00
test_const.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_cpoptions.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_crash.vim vim-patch:9.0.1848: [security] buffer-overflow in vim_regsub_both() (#25001) 2023-09-03 13:47:55 +08:00
test_cursor_func.vim vim-patch:9.0.2022: getmousepos() returns wrong index for TAB char (#25636) 2023-10-14 19:18:25 +08:00
test_cursorline.vim vim-patch:8.2.4611: typos in tests; one lua line not covered by test (#24835) 2023-08-22 20:02:50 +08:00
test_curswant.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_debugger.vim vim-patch:8.2.3984: debugger test fails 2023-11-13 06:59:10 +08:00
test_delete.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_diffmode.vim vim-patch:9.0.1981: not being able to scroll up in diff mode (#25506) 2023-10-05 07:36:14 +08:00
test_digraph.vim vim-patch:9.0.2056: no digraph for quadruple prime 2023-10-20 13:03:36 +02:00
test_display.vim vim-patch:9.0.1813: linebreak incorrect drawn with breakindent (#24917) 2023-08-29 09:36:55 +08:00
test_edit.vim vim-patch:partial:9.0.1886: Various Typos 2023-09-09 17:58:32 +08:00
test_environ.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_erasebackword.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_escaped_glob.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_eval_stuff.vim vim-patch:9.0.0423: "for" and "while" not recognized after :vim9cmd and :legacy (#24825) 2023-08-21 09:06:21 -05:00
test_ex_equal.vim feat(lua): allow :=expr as a shorter version of :lua =expr 2023-03-22 09:10:04 +01:00
test_ex_mode.vim vim-patch:9.0.1665: empty CmdlineEnter autocommand causes errors in Ex mode 2023-06-26 07:19:36 +08:00
test_ex_undo.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_ex_z.vim vim-patch:8.0.0571: negative line number when using :z^ in an empty buffer (#24836) 2023-08-22 20:56:14 +08:00
test_excmd.vim test(old): unskip working tests on Windows (#22650) 2023-03-13 12:44:44 +08:00
test_exec_while_if.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_execute_func.vim vim-patch:8.2.2949: tests failing because no error for float to string conversion 2023-06-12 13:27:16 +08:00
test_exists_autocmd.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_exists.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_exit.vim vim-patch:9.0.1538: :wqall does not trigger ExitPre (#23574) 2023-05-11 08:09:13 +08:00
test_expand_func.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_expand.vim vim-patch:8.2.4892: test failures because of changed error messages 2023-05-05 09:20:30 +08:00
test_expr_utf8.vim vim-patch:8.2.2607: strcharpart() cannot include composing characters 2023-05-04 17:49:56 +08:00
test_expr.vim vim-patch:8.2.3908: cannot use a script-local function for 'foldtext' 2023-08-17 13:14:32 +08:00
test_file_perm.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_file_size.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_filechanged.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_fileformat.vim vim-patch:9.0.0904: various comment and indent flaws (#23498) 2023-05-06 09:34:29 +08:00
test_filetype.vim vim-patch:9.0.2098: No filetype support for xcompose files (#25983) 2023-11-12 07:51:25 +08:00
test_filter_cmd.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_filter_map.vim vim-patch:9.0.1416: crash when collection is modified when using filter() 2023-08-17 17:03:10 +08:00
test_find_complete.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_findfile.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_fixeol.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_flatten.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_float_func.vim vim-patch:8.2.2949: tests failing because no error for float to string conversion 2023-06-12 13:27:16 +08:00
test_fnameescape.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_fnamemodify.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_fold.vim vim-patch:9.0.1995: Invalid memory access with empty 'foldexpr' (#25530) 2023-10-07 06:32:06 +08:00
test_format.vim vim-patch:9.0.1950: Vim9: error codes spread out (#25405) 2023-09-29 06:52:02 +08:00
test_functions.vim vim-patch:9.0.2041: trim(): hard to use default mask (#25692) 2023-10-18 06:08:14 +08:00
test_ga.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_getcwd.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_getvar.vim vim-patch:8.2.0634: crash with null partial and blob 2023-04-15 13:48:30 +08:00
test_gf.vim vim-patch:9.0.1546: some commands for opening a file don't use 'switchbuf' (#23600) 2023-05-13 08:40:06 +08:00
test_glob2regpat.vim vim-patch:8.2.2949: tests failing because no error for float to string conversion 2023-06-12 13:27:16 +08:00
test_global.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_gn.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_goto.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_gui.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_help_tagjump.vim vim-patch:8.2.1794: no falsy Coalescing operator 2023-04-14 18:04:09 +08:00
test_help.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_hide.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_highlight.vim vim-patch:8.2.4339: CTRL-A does not work properly with the cmdline popup menu 2023-08-21 15:43:39 +08:00
test_history.vim vim-patch:9.0.2068: [security] overflow in :history (#25794) 2023-10-27 06:37:52 +08:00
test_hlsearch.vim vim-patch:9.0.1588: Incsearch not triggered when pasting clipboard register (#23817) 2023-05-30 07:18:12 +08:00
test_increment_dbcs.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_increment.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_indent.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_input.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_ins_complete_no_halt.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_ins_complete.vim vim-patch:9.0.2090: complete_info() skips entries with 'noselect' (#25890) 2023-11-04 21:59:03 +08:00
test_interrupt.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_join.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_jumplist.vim vim-patch:9.0.1921: not possible to use the jumplist like a stack (#25278) 2023-09-21 07:37:03 +08:00
test_lambda.vim vim-patch:8.2.3096: temp files remain after running tests 2023-11-13 06:49:09 +08:00
test_langmap.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_largefile.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_let.vim vim-patch:9.0.1631: passing wrong variable type to option gives multiple errors (#24026) 2023-06-15 08:05:26 +08:00
test_lineending.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_lispindent.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_listchars.vim vim-patch:9.0.1938: multispace wrong when scrolling horizontally (#25348) 2023-09-25 06:31:52 +08:00
test_listdict.vim vim-patch:partial:9.0.1886: Various Typos 2023-09-09 17:58:32 +08:00
test_listlbr_utf8.vim vim-patch:9.0.1783: Display issues with virt text smoothscroll and showbreak 2023-08-23 13:17:17 +08:00
test_listlbr.vim vim-patch:9.0.2017: linebreak applies for leading whitespace (#25604) 2023-10-12 06:49:11 +08:00
test_makeencoding.py test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_makeencoding.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_map_functions.vim vim-patch:8.2.4932: not easy to filter the output of maplist() 2023-11-09 21:34:04 +08:00
test_mapping.vim vim-patch:8.2.4078: terminal test for current directory not used on FreeBSD (#25961) 2023-11-10 14:20:32 +08:00
test_marks.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_match.vim vim-patch:8.2.4339: CTRL-A does not work properly with the cmdline popup menu 2023-08-21 15:43:39 +08:00
test_matchadd_conceal_utf8.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_matchadd_conceal.vim vim-patch:8.2.0533: tests using term_wait() can still be flaky 2023-08-21 15:31:21 +08:00
test_matchfuzzy.vim vim-patch:9.0.1499: using uninitialized memory with fuzzy matching (#23399) 2023-04-30 08:27:38 +08:00
test_menu.vim vim-patch:8.2.4611: typos in tests; one lua line not covered by test (#24835) 2023-08-22 20:02:50 +08:00
test_messages.vim vim-patch:9.0.0607: verbose echo message test fails on Mac OS 2023-09-29 06:07:27 +08:00
test_method.vim vim-patch:9.0.1540: reverse() on string doesn't work in compiled function 2023-08-19 18:05:46 +08:00
test_mksession_utf8.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_mksession.vim vim-patch:9.0.1679: Cleanup Tests from leftover files (#24617) 2023-08-09 06:07:23 +08:00
test_modeline.vim vim-patch:9.0.2095: statusline may look different than expected (#25941) 2023-11-09 06:34:34 +08:00
test_move.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_nested_function.vim vim-patch:8.2.3786: test fails because of using Vim9 syntax in legacy function 2023-04-16 10:18:39 +08:00
test_normal.vim vim-patch:9.0.1919: Wrong curswant when clicking on empty line or with vsplits 2023-09-21 09:43:12 +08:00
test_number.vim vim-patch:8.2.0533: tests using term_wait() can still be flaky 2023-08-21 15:31:21 +08:00
test_options.vim vim-patch:9.0.2081: smoothscroll may result in wrong cursor position (#25815) 2023-10-29 06:05:29 +08:00
test_packadd.vim vim-patch:9.0.1730: passing multiple patterns to runtime not working (#24771) 2023-08-18 08:24:49 +08:00
test_partial.vim vim-patch:9.0.0335: checks for Dictionary argument often give a vague error (#23309) 2023-04-25 21:32:12 +08:00
test_paste.vim feat(options)!: deprecate paste, remove pastetoggle (#22647) 2023-03-13 10:29:11 +08:00
test_perl.vim vim-patch:8.2.0672: heredoc in scripts does not accept lower case marker 2023-04-29 09:20:52 +08:00
test_plus_arg_edit.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_popup.vim vim-patch:8.2.4339: CTRL-A does not work properly with the cmdline popup menu 2023-08-21 15:43:39 +08:00
test_preview.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_profile.vim vim-patch:9.0.0415: on MS-Windows some tests are flaky 2023-08-22 18:56:43 +08:00
test_prompt_buffer.vim vim-patch:9.0.1449: test for prompt buffer is flaky (#23076) 2023-04-14 07:12:42 +08:00
test_put.vim vim-patch:9.0.1597: cursor ends up below the window after a put (#23873) 2023-06-02 08:48:49 +08:00
test_python3.vim vim-patch:8.2.0672: heredoc in scripts does not accept lower case marker 2023-04-29 09:20:52 +08:00
test_pyx3.vim vim-patch:8.2.0672: heredoc in scripts does not accept lower case marker 2023-04-29 09:20:52 +08:00
test_quickfix.vim vim-patch:9.0.2064: cannot use buffer-number for errorformat (#25782) 2023-10-26 07:42:29 +08:00
test_quotestar.vim vim-patch:8.2.3518: Test_xrestore sometimes fails 2023-08-21 15:35:08 +08:00
test_random.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_recover.vim vim-patch:9.0.1874: CI may fail in test_recover_empty_swap 2023-09-06 06:28:23 +08:00
test_regex_char_classes.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_regexp_latin.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_regexp_utf8.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_registers.vim vim-patch:9.0.1694: wrong mapping applied when replaying a char search (#24670) 2023-08-12 06:50:52 +08:00
test_reltime.vim vim-patch:8.2.3518: Test_xrestore sometimes fails 2023-08-21 15:35:08 +08:00
test_rename.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_retab.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_ruby.vim vim-patch:8.2.0672: heredoc in scripts does not accept lower case marker 2023-04-29 09:20:52 +08:00
test_scriptnames.vim vim-patch:9.0.1431: getscriptinfo() loops even when specific SID is given 2023-04-15 21:06:17 +08:00
test_scroll_opt.vim vim-patch:9.0.1983: scrolling inactive window not possible with cursorbind (#25507) 2023-10-05 07:48:37 +08:00
test_scrollbind.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_search_stat.vim vim-patch:8.2.4339: CTRL-A does not work properly with the cmdline popup menu 2023-08-21 15:43:39 +08:00
test_search.vim vim-patch:8.2.0533: tests using term_wait() can still be flaky 2023-08-21 15:31:21 +08:00
test_searchpos.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_selectmode.vim vim-patch:9.0.1852: i_CTRL-O does not reset Select Mode (#24990) 2023-09-03 09:04:58 +08:00
test_set.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_sha256.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_shell.vim vim-patch:9.0.0415: on MS-Windows some tests are flaky 2023-08-22 18:56:43 +08:00
test_shift.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_signals.vim vim-patch:8.2.4611: typos in tests; one lua line not covered by test (#24835) 2023-08-22 20:02:50 +08:00
test_signs.vim vim-patch:9.0.1683: Updated runtime files (#24638) 2023-08-10 17:45:36 +08:00
test_sleep.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_smartindent.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_sort.vim test(old): unskip working tests on Windows (#22650) 2023-03-13 12:44:44 +08:00
test_source_utf8.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_source.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_spell_utf8.vim test(old): unskip working tests on Windows (#22650) 2023-03-13 12:44:44 +08:00
test_spell.vim vim-patch:9.0.1810: camel-case spelling has issues with digits (#24909) 2023-08-28 07:16:15 +08:00
test_spellfile.vim vim-patch:9.0.0240: crash when using ":mkspell" with an empty .dic file 2023-05-04 13:51:01 +08:00
test_startup_utf8.vim vim-patch:8.2.0533: tests using term_wait() can still be flaky 2023-08-21 15:31:21 +08:00
test_startup.vim vim-patch:9.0.0428: autocmd test uses common file name 2023-08-22 18:56:43 +08:00
test_stat.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_statusline.vim vim-patch:9.0.2095: statusline may look different than expected (#25941) 2023-11-09 06:34:34 +08:00
test_substitute.vim vim-patch:partial:9.0.1886: Various Typos 2023-09-09 17:58:32 +08:00
test_suspend.vim vim-patch:8.2.0533: tests using term_wait() can still be flaky 2023-08-21 15:31:21 +08:00
test_swap.vim vim-patch:8.2.0533: tests using term_wait() can still be flaky 2023-08-21 15:31:21 +08:00
test_syn_attr.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_syntax.vim vim-patch:9.0.1931: make test_compilers fails on ubuntu 2023-09-25 05:54:38 +08:00
test_system.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_tab.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_tabline.vim vim-patch:9.0.1672: tabline highlight wrong after truncated double width label (#24223) 2023-07-02 07:42:49 +08:00
test_tabpage.vim vim-patch:9.0.1472: ":drop fname" may change the last used tab page (#23230) 2023-04-21 09:02:30 +08:00
test_tagcase.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_tagfunc.vim vim-patch:8.2.4361: Vim9: some tests fail 2023-04-15 17:14:30 +08:00
test_tagjump.vim vim-patch:8.2.0533: tests using term_wait() can still be flaky 2023-08-21 15:31:21 +08:00
test_taglist.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_termcodes.vim vim-patch:8.2.2249: termcodes test is flaky when used over ssh 2023-05-06 10:03:39 +08:00
test_termdebug.vim vim-patch:2dd613f57bf1 (#26009) 2023-11-13 05:44:30 +08:00
test_textformat.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_textobjects.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_timers.vim vim-patch:8.2.3518: Test_xrestore sometimes fails 2023-08-21 15:35:08 +08:00
test_true_false.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_trycatch.vim vim-patch:8.2.1746: Vim9: cannot use "fina" for "finally" (#23497) 2023-05-06 08:56:00 +08:00
test_undo.vim vim-patch:9.0.2008: test: undofile left behind (#25567) 2023-10-10 05:56:28 +08:00
test_unlet.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_user_func.vim vim-patch:9.0.2059: outstanding exceptions may be skipped (#25736) 2023-10-21 18:46:52 +08:00
test_usercommands.vim build(vim-patch.sh): ignore test_behave.vim (#23062) 2023-04-13 19:07:42 +08:00
test_utf8_comparisons.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_utf8.vim vim-patch:9.0.1598: screenchar() and others are wrong with DBCS 'encoding' (#23872) 2023-06-02 04:31:17 +08:00
test_vartabs.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_version.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_viminfo.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_vimscript.vim vim-patch:partial:9.0.1886: Various Typos 2023-09-09 17:58:32 +08:00
test_virtualedit.vim vim-patch:9.0.1937: missing test for mouse click + 'virtedit' (#25347) 2023-09-25 06:23:42 +08:00
test_visual.vim vim-patch:9.0.1915: r_CTRL-C works differently in visual mode (#25248) 2023-09-20 06:37:29 +08:00
test_winbuf_close.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_window_cmd.vim vim-patch:9.0.1772: Cursor may be adjusted in 'splitkeep'ed windows (#24811) 2023-08-21 08:58:18 +08:00
test_window_id.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_windows_home.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_wnext.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_wordcount.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_writefile.vim vim-patch:9.0.1967: xattr errors not translated (#25454) 2023-10-01 16:29:55 +08:00
test.sh test(old): don't check for $CLANG_SANITIZER (#25432) 2023-09-30 08:35:29 +08:00
unix.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
view_util.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
vim9.vim vim-patch:1b884a005398 2023-08-17 11:21:10 +08:00

This directory contains tests for various Vim features.
For testing an indent script see runtime/indent/testdir/README.txt.

If it makes sense, add a new test method to an already existing file.  You may
want to separate it from other tests with comment lines.

TO ADD A NEW STYLE TEST:

1) Create a test_<subject>.vim file.
2) Add test_<subject>.res to NEW_TESTS_RES in Make_all.mak in alphabetical
   order.
3) Also add an entry "test_<subject>" to NEW_TESTS in Make_all.mak.
4) Use make test_<subject> to run a single test.

At 2), instead of running the test separately, it can be included in
"test_alot".  Do this for quick tests without side effects.  The test runs a
bit faster, because Vim doesn't have to be started, one Vim instance runs many
tests.

At 4), to run a test in GUI, add "GUI_FLAG=-g" to the make command.


What you can use (see test_assert.vim for an example):

- Call assert_equal(), assert_true(), assert_false(), etc.

- Use assert_fails() to check for expected errors.

- Use try/catch to avoid an exception aborts the test.

- Use test_alloc_fail() to have memory allocation fail.  This makes it possible
  to check memory allocation failures are handled gracefully.  You need to
  change the source code to add an ID to the allocation.  Add a new one to
  alloc_id_T, before aid_last.

- Use test_override() to make Vim behave differently, e.g.  if char_avail()
  must return FALSE for a while.  E.g. to trigger the CursorMovedI autocommand
  event. See test_cursor_func.vim for an example.

- If the bug that is being tested isn't fixed yet, you can throw an exception
  with "Skipped" so that it's clear this still needs work.  E.g.: throw
  "Skipped: Bug with <c-e> and popupmenu not fixed yet"

- The following environment variables are recognized and can be set to
  influence the behavior of the test suite (see runtest.vim for details)

  - $TEST_MAY_FAIL=Test_channel_one    - ignore those failing tests
  - $TEST_FILTER=Test_channel    - only run test that match this pattern
  - $TEST_SKIP_PAT=Test_channel  - skip tests that match this pattern
  - $TEST_NO_RETRY=yes           - do not try to re-run failing tests
  You can also set them in Vim:
    :let $TEST_MAY_FAIL = 'Test_channel_one'
    :let $TEST_FILTER = '_set_mode'
    :let $TEST_SKIP_PAT = 'Test_loop_forever'
    :let $TEST_NO_RETRY = 'yes'
  Use an empty string to revert, e.g.:
    :let $TEST_FILTER = ''

- See the start of runtest.vim for more help.


TO ADD A SCREEN DUMP TEST:

Mostly the same as writing a new style test.  Additionally, see help on
"terminal-dumptest".  Put the reference dump in "dumps/Test_func_name.dump".


OLD STYLE TESTS:

There are a few tests that are used when Vim was built without the +eval
feature.  These cannot use the "assert" functions, therefore they consist of a
.in file that contains Normal mode commands between STARTTEST and ENDTEST.
They modify the file and the result gets written in the test.out file.  This
is then compared with the .ok file.  If they are equal the test passed.  If
they differ the test failed.


RUNNING THE TESTS:

To run a single test from the src directory:

    $ make test_<name>

The below commands should be run from the src/testdir directory.

To run a single test:

    $ make test_<name>.res

The file 'messages' contains the messages generated by the test script.  If a
test fails, then the test.log file contains the error messages.  If all the
tests are successful, then this file will be an empty file.

- To run a single test function from a test script:

    $ ../vim -u NONE -S runtest.vim <test_file>.vim <function_name>

- To execute only specific test functions, add a second argument:

	 $ ../vim -u NONE -S runtest.vim test_channel.vim open_delay


- To run all the tests:

    $ make

- To run the test on MS-Windows using the MSVC nmake:

    > nmake -f Make_dos.mak

- To run the tests with GUI Vim:

    $ make GUI_FLAG=-g

    or

    $ make VIMPROG=../gvim

- To cleanup the temporary files after running the tests:

    $ make clean