Skip to content

Commit

Permalink
legacy tests: Remove legacy tests for Lua (test85) neovim#2357
Browse files Browse the repository at this point in the history
  • Loading branch information
glts authored and Michael Reed committed Apr 6, 2015
1 parent 4657cd5 commit 0af7c8f
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 99 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
# Files generated by the tests
/src/nvim/testdir/del
/src/nvim/testdir/mbyte.vim
/src/nvim/testdir/lua.vim
/src/nvim/testdir/small.vim
/src/nvim/testdir/tiny.vim
/src/nvim/testdir/test*.out
Expand Down
4 changes: 2 additions & 2 deletions src/nvim/testdir/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SCRIPTS := test_autoformat_join.out \
test68.out test69.out \
test71.out test73.out test74.out \
test76.out test78.out test79.out test80.out \
test82.out test83.out test85.out \
test82.out test83.out \
test86.out test87.out test88.out \
test96.out test99.out \
test_listlbr.out \
Expand Down Expand Up @@ -85,7 +85,7 @@ test1.out: $(VIMPROG)
$(SCRIPTS) $(SCRIPTS_GUI): $(VIMPROG) test1.out

RM_ON_RUN := test.out X* viminfo
RM_ON_START := tiny.vim small.vim mbyte.vim lua.vim test.ok
RM_ON_START := tiny.vim small.vim mbyte.vim test.ok
RUN_VIM := VIMRUNTIME=$(SCRIPTSOURCE); export VIMRUNTIME; $(TOOL) $(VIMPROG) -u unix.vim -U NONE -i viminfo --noplugin -s dotest.in

clean:
Expand Down
5 changes: 0 additions & 5 deletions src/nvim/testdir/test1.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ set like small.vim above. tiny.vim is sourced by tests that require the
If Vim was not compiled with the +multi_byte feature, the mbyte.vim script will
be set like small.vim above. mbyte.vim is sourced by tests that require the
+multi_byte feature.
Similar logic is applied to the +lua feature, using lua.vim.

STARTTEST
:" If columns or lines are too small, create wrongtermsize.
Expand All @@ -31,14 +30,10 @@ ae! test.ok
w! test.out
qa!
:w! mbyte.vim
:w! lua.vim
:"
:" If +multi_byte feature supported, make mbyte.vim empty.
:if has("multi_byte") | sp another | w! mbyte.vim | q | endif
:"
:" If +lua feature supported, make lua.vim empty.
:if has("lua") | sp another | w! lua.vim | q | endif
:"
:" If +eval feature supported quit here, leaving tiny.vim and small.vim empty.
:" Otherwise write small.vim to skip the test.
:if 1 | q! | endif
Expand Down
84 changes: 0 additions & 84 deletions src/nvim/testdir/test85.in

This file was deleted.

7 changes: 0 additions & 7 deletions src/nvim/testdir/test85.ok

This file was deleted.

0 comments on commit 0af7c8f

Please sign in to comment.