neovim/test/old/testdir
Christian Clason e30cc8be19
vim-patch:9.0.1438: .fs files are falsely recognized as forth files (#22871)
Problem:    .fs files are falsely recognized as forth files.
Solution:   Check 100 lines for something that looks like forth. (Johan
            Kotlinski, closes vim/vim#12219, closes vim/vim#11988)

065088d554

Co-authored-by: Johan Kotlinski <kotlinski@gmail.com>
2023-04-03 16:27:49 +02: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 test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +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 test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +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 test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +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 refactor(defaults)!: change default 'commentstring' value to empty (#22862) 2023-04-02 23:01:48 +08:00
shared.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +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 test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_arabic.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_arglist.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_assert.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_autochdir.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_autocmd.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_autoload.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_backspace_opt.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_backup.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_behave.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_blob.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_blockedit.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_breakindent.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_buffer.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_bufline.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_bufwintabinfo.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_cd.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +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 test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_charsearch.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +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 test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_close_count.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_cmdline.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +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 test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_conceal.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +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_cursor_func.vim vim-patch:8.2.3969: value of MAXCOL not available in Vim script 2023-03-07 11:33:23 +08:00
test_cursorline.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_curswant.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_debugger.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_delete.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_diffmode.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_digraph.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_display.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_edit.vim vim-patch:9.0.1428: cursor in wrong position when leaving insert mode (#22786) 2023-03-26 09:24:04 +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 test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08: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.1392: using NULL pointer with nested :open command (#22583) 2023-03-09 08:15:06 +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 test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +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 test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +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 test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_expand_func.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_expand.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_expr_utf8.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_expr.vim vim-patch:8.2.1067: expression "!expr->func()" does not work (#22585) 2023-03-09 13:47:01 +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 test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_filetype.vim vim-patch:9.0.1438: .fs files are falsely recognized as forth files (#22871) 2023-04-03 16:27:49 +02:00
test_filter_cmd.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_filter_map.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +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 test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +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 test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_functions.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +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 test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_gf.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_glob2regpat.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +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 test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +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 test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_history.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_hlsearch.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +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 test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +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 test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_lambda.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +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 test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +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 test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_listdict.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_listlbr_utf8.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_listlbr.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +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_maparg.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_mapping.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_marks.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_match.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +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 test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_matchfuzzy.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_menu.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_messages.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_method.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_mksession_utf8.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_mksession.vim feat(options)!: deprecate paste, remove pastetoggle (#22647) 2023-03-13 10:29:11 +08:00
test_modeline.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_move.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_nested_function.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_normal.vim vim-patch:8.2.3969: value of MAXCOL not available in Vim script 2023-03-07 11:33:23 +08:00
test_number.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_options.vim feat(options)!: deprecate paste, remove pastetoggle (#22647) 2023-03-13 10:29:11 +08:00
test_packadd.vim vim-patch:9.0.1434: crash when adding package already in 'runtimepath' (#22849) 2023-04-01 21:34:55 +08:00
test_partial.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_paste.vim feat(options)!: deprecate paste, remove pastetoggle (#22647) 2023-03-13 10:29:11 +08:00
test_perl.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +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:9.0.1397: highlight for popupmenu kind and extra cannot be set (#22619) 2023-03-11 10:05:47 +08:00
test_preview.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_profile.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_prompt_buffer.vim vim-patch:9.0.1439: start Insert mode when accessing a hidden prompt buffer (#22867) 2023-04-03 08:36:14 +08:00
test_put.vim vim-patch:8.2.3969: value of MAXCOL not available in Vim script 2023-03-07 11:33:23 +08:00
test_python2.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_python3.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_pyx2.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_pyx3.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_quickfix.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_quotestar.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_random.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_recover.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +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 test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_reltime.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +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 test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_scriptnames.vim vim-patch:9.0.0244: cannot easily get the list of sourced scripts (#22596) 2023-03-11 11:22:22 +08:00
test_scroll_opt.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_scrollbind.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_search_stat.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_search.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_searchpos.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_selectmode.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +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 fix(shell): on Windows :make does not echo #22728 2023-03-19 14:25:12 -07:00
test_shift.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_signals.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_signs.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +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 test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_spellfile.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_startup_utf8.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_startup.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_stat.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_statusline.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_substitute.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_suspend.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_swap.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_syn_attr.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_syntax.vim test(old): move memfile_test.c to test/old/ (#22567) 2023-03-08 10:46:09 +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 test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_tabpage.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_tagcase.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_tagfunc.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_tagjump.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_taglist.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_termcodes.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +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 test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_true_false.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_trycatch.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_undo.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_unlet.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_user_func.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_usercommands.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_utf8_comparisons.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_utf8.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +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 test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_virtualedit.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test_visual.vim test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +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 test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +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 test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +08:00
test.sh test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +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 test: move oldtests to test directory (#22536) 2023-03-07 11:13:04 +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