mirror of
https://github.com/neovim/neovim.git
synced 2026-04-17 21:12:51 +00:00
refactor(oldtest): one test_alot.vim file is already alot
neovim always uses encoding=utf8. Thus a lot of utf8 tests are just a lot of tests. Meanwhile test_regexp_latin.vim is a bit of a lone child, it can just run as a separate test without a shell layer (running it in the same process as its utf8 sibling is not allowed
This commit is contained in:
@@ -20,15 +20,14 @@ else
|
||||
endif
|
||||
|
||||
# Tests using runtest.vim.
|
||||
NEW_TESTS_ALOT := test_alot_utf8 test_alot test_alot_latin
|
||||
NEW_TESTS_IN_ALOT := $(shell sed -n '/^source/ s/^source //; s/\.vim$$//p' $(addsuffix .vim,$(NEW_TESTS_ALOT)))
|
||||
NEW_TESTS_IN_ALOT := $(shell sed -n '/^source/ s/^source //; s/\.vim$$//p' test_alot.vim))
|
||||
# Ignored tests.
|
||||
# test_largefile: uses too much resources to run on CI.
|
||||
NEW_TESTS_IGNORE := \
|
||||
test_largefile \
|
||||
|
||||
NEW_TESTS := $(sort $(basename $(notdir $(wildcard test_*.vim))))
|
||||
NEW_TESTS_RES := $(addsuffix .res,$(filter-out $(NEW_TESTS_ALOT) $(NEW_TESTS_IN_ALOT) $(NEW_TESTS_IGNORE),$(NEW_TESTS)) $(NEW_TESTS_ALOT))
|
||||
NEW_TESTS_RES := $(addsuffix .res,$(filter-out test_alot $(NEW_TESTS_IN_ALOT) $(NEW_TESTS_IGNORE),$(NEW_TESTS)) test_alot)
|
||||
|
||||
|
||||
ifdef VALGRIND_GDB
|
||||
|
||||
@@ -27,3 +27,13 @@ source test_tagfunc.vim
|
||||
source test_unlet.vim
|
||||
source test_version.vim
|
||||
source test_wnext.vim
|
||||
|
||||
" encoding=utf-8 tests, previously in test_alot_utf8.vim
|
||||
source test_charsearch_utf8.vim
|
||||
source test_expr_utf8.vim
|
||||
source test_mksession_utf8.vim
|
||||
source test_regexp_utf8.vim
|
||||
source test_source_utf8.vim
|
||||
source test_startup_utf8.vim
|
||||
source test_utf8.vim
|
||||
source test_utf8_comparisons.vim
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
" A series of tests that can run in one Vim invocation.
|
||||
" This makes testing go faster, since Vim doesn't need to restart.
|
||||
|
||||
" These tests use latin1 'encoding'. Setting 'encoding' is in the individual
|
||||
" files, so that they can be run by themselves.
|
||||
|
||||
source test_regexp_latin.vim
|
||||
@@ -1,14 +0,0 @@
|
||||
" A series of tests that can run in one Vim invocation.
|
||||
" This makes testing go faster, since Vim doesn't need to restart.
|
||||
|
||||
" These tests use utf8 'encoding'. Setting 'encoding' is already done in
|
||||
" runtest.vim.
|
||||
|
||||
source test_charsearch_utf8.vim
|
||||
source test_expr_utf8.vim
|
||||
source test_mksession_utf8.vim
|
||||
source test_regexp_utf8.vim
|
||||
source test_source_utf8.vim
|
||||
source test_startup_utf8.vim
|
||||
source test_utf8.vim
|
||||
source test_utf8_comparisons.vim
|
||||
Reference in New Issue
Block a user