diff options
-rw-r--r-- | src/nvim/testdir/Makefile | 6 | ||||
-rw-r--r-- | src/nvim/testdir/test_options.in | 17 | ||||
-rw-r--r-- | src/nvim/testdir/test_options.ok | 2 | ||||
-rw-r--r-- | src/nvim/version.c | 2 |
4 files changed, 24 insertions, 3 deletions
diff --git a/src/nvim/testdir/Makefile b/src/nvim/testdir/Makefile index 21f2928593..a7f9dd8fa1 100644 --- a/src/nvim/testdir/Makefile +++ b/src/nvim/testdir/Makefile @@ -5,6 +5,7 @@ export SHELL := sh VIMPROG := ../../../build/bin/nvim +SCRIPTSOURCE := ../../../runtime SCRIPTS := test_autoformat_join.out \ test_eval.out \ @@ -29,7 +30,8 @@ SCRIPTS := test_autoformat_join.out \ test91.out test92.out test93.out test94.out test95.out \ test96.out test97.out test98.out test99.out test100.out \ test101.out test102.out test103.out test104.out test105.out \ - test106.out test107.out + test106.out test107.out \ + test_options.out SCRIPTS_GUI := test16.out @@ -86,7 +88,7 @@ $(SCRIPTS) $(SCRIPTS_GUI): $(VIMPROG) test1.out RM_ON_RUN := test.out X* viminfo RM_ON_START := tiny.vim small.vim mbyte.vim mzscheme.vim lua.vim test.ok -RUN_VIM := $(TOOL) $(VIMPROG) -u unix.vim -U NONE --noplugin -s dotest.in +RUN_VIM := export VIMRUNTIME=$(SCRIPTSOURCE); $(TOOL) $(VIMPROG) -u unix.vim -U NONE --noplugin -s dotest.in clean: -rm -rf *.out \ diff --git a/src/nvim/testdir/test_options.in b/src/nvim/testdir/test_options.in new file mode 100644 index 0000000000..bf1232a223 --- /dev/null +++ b/src/nvim/testdir/test_options.in @@ -0,0 +1,17 @@ +Test for ":options". + +STARTTEST +:so small.vim +:let caught = 'ok' +:try + :options +:catch + :let caught = v:throwpoint . "\n" . v:exception +:endtry +:buf 1 +:$put =caught +:/^result/,$w! test.out +:qa! +ENDTEST + +result diff --git a/src/nvim/testdir/test_options.ok b/src/nvim/testdir/test_options.ok new file mode 100644 index 0000000000..a2e1494a1f --- /dev/null +++ b/src/nvim/testdir/test_options.ok @@ -0,0 +1,2 @@ +result +ok diff --git a/src/nvim/version.c b/src/nvim/version.c index 91ef23548d..6e503200f0 100644 --- a/src/nvim/version.c +++ b/src/nvim/version.c @@ -364,7 +364,7 @@ static int included_patches[] = { 234, 233, 232, - //231, + 231, 230, 229, //228 NA |