|
|
073263 |
To: vim_dev@googlegroups.com
|
|
|
073263 |
Subject: Patch 7.4.231
|
|
|
073263 |
Fcc: outbox
|
|
|
073263 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
|
073263 |
Mime-Version: 1.0
|
|
|
073263 |
Content-Type: text/plain; charset=UTF-8
|
|
|
073263 |
Content-Transfer-Encoding: 8bit
|
|
|
073263 |
------------
|
|
|
073263 |
|
|
|
073263 |
Patch 7.4.231
|
|
|
073263 |
Problem: An error in ":options" is not caught by the tests.
|
|
|
073263 |
Solution: Add a test for ":options". Set $VIMRUNTIME for the tests so that
|
|
|
073263 |
it uses the current runtime files instead of the installed ones.
|
|
|
073263 |
Files: src/Makefile, src/testdir/Makefile, src/testdir/test_options.in,
|
|
|
073263 |
src/testdir/test_options.ok, src/testdir/Make_amiga.mak,
|
|
|
073263 |
src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
|
|
|
073263 |
src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
|
|
|
073263 |
|
|
|
073263 |
|
|
|
073263 |
*** ../vim-7.4.230/src/Makefile 2014-03-27 17:40:53.384696360 +0100
|
|
|
073263 |
--- src/Makefile 2014-04-01 13:49:14.025089820 +0200
|
|
|
073263 |
***************
|
|
|
073263 |
*** 1867,1873 ****
|
|
|
073263 |
-if test $(VIMTARGET) != vim -a ! -r vim; then \
|
|
|
073263 |
ln -s $(VIMTARGET) vim; \
|
|
|
073263 |
fi
|
|
|
073263 |
! cd testdir; $(MAKE) -f Makefile $(GUI_TESTTARGET) VIMPROG=../$(VIMTARGET) $(GUI_TESTARG)
|
|
|
073263 |
$(MAKE) -f Makefile unittest
|
|
|
073263 |
|
|
|
073263 |
unittesttargets:
|
|
|
073263 |
--- 1867,1873 ----
|
|
|
073263 |
-if test $(VIMTARGET) != vim -a ! -r vim; then \
|
|
|
073263 |
ln -s $(VIMTARGET) vim; \
|
|
|
073263 |
fi
|
|
|
073263 |
! cd testdir; $(MAKE) -f Makefile $(GUI_TESTTARGET) VIMPROG=../$(VIMTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE)
|
|
|
073263 |
$(MAKE) -f Makefile unittest
|
|
|
073263 |
|
|
|
073263 |
unittesttargets:
|
|
|
073263 |
***************
|
|
|
073263 |
*** 1880,1885 ****
|
|
|
073263 |
--- 1880,1886 ----
|
|
|
073263 |
|
|
|
073263 |
# Run individual test, assuming that Vim was already compiled.
|
|
|
073263 |
test1 test2 test3 test4 test5 test6 test7 test8 test9 \
|
|
|
073263 |
+ test_options \
|
|
|
073263 |
test10 test11 test12 test13 test14 test15 test16 test17 test18 test19 \
|
|
|
073263 |
test20 test21 test22 test23 test24 test25 test26 test27 test28 test29 \
|
|
|
073263 |
test30 test31 test32 test33 test34 test35 test36 test37 test38 test39 \
|
|
|
073263 |
***************
|
|
|
073263 |
*** 1890,1896 ****
|
|
|
073263 |
test80 test81 test82 test83 test84 test85 test86 test87 test88 test89 \
|
|
|
073263 |
test90 test91 test92 test93 test94 test95 test96 test97 test98 test99 \
|
|
|
073263 |
test100 test101 test102 test103 test104 test105 test106 test107:
|
|
|
073263 |
! cd testdir; rm $@.out; $(MAKE) -f Makefile $@.out VIMPROG=../$(VIMTARGET)
|
|
|
073263 |
|
|
|
073263 |
testclean:
|
|
|
073263 |
cd testdir; $(MAKE) -f Makefile clean
|
|
|
073263 |
--- 1891,1897 ----
|
|
|
073263 |
test80 test81 test82 test83 test84 test85 test86 test87 test88 test89 \
|
|
|
073263 |
test90 test91 test92 test93 test94 test95 test96 test97 test98 test99 \
|
|
|
073263 |
test100 test101 test102 test103 test104 test105 test106 test107:
|
|
|
073263 |
! cd testdir; rm $@.out; $(MAKE) -f Makefile $@.out VIMPROG=../$(VIMTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE)
|
|
|
073263 |
|
|
|
073263 |
testclean:
|
|
|
073263 |
cd testdir; $(MAKE) -f Makefile clean
|
|
|
073263 |
*** ../vim-7.4.230/src/testdir/Makefile 2014-03-12 19:41:37.100948866 +0100
|
|
|
073263 |
--- src/testdir/Makefile 2014-04-01 13:48:07.593090734 +0200
|
|
|
073263 |
***************
|
|
|
073263 |
*** 3,8 ****
|
|
|
073263 |
--- 3,9 ----
|
|
|
073263 |
#
|
|
|
073263 |
|
|
|
073263 |
VIMPROG = ../vim
|
|
|
073263 |
+ SCRIPTSOURCE = ../../runtime
|
|
|
073263 |
|
|
|
073263 |
# Uncomment this line to use valgrind for memory leaks and extra warnings.
|
|
|
073263 |
# The output goes into a file "valgrind.testN"
|
|
|
073263 |
***************
|
|
|
073263 |
*** 31,37 ****
|
|
|
073263 |
test89.out test90.out test91.out test92.out test93.out \
|
|
|
073263 |
test94.out test95.out test96.out test97.out test98.out \
|
|
|
073263 |
test99.out test100.out test101.out test102.out test103.out \
|
|
|
073263 |
! test104.out test105.out test106.out
|
|
|
073263 |
|
|
|
073263 |
SCRIPTS_GUI = test16.out
|
|
|
073263 |
|
|
|
073263 |
--- 32,39 ----
|
|
|
073263 |
test89.out test90.out test91.out test92.out test93.out \
|
|
|
073263 |
test94.out test95.out test96.out test97.out test98.out \
|
|
|
073263 |
test99.out test100.out test101.out test102.out test103.out \
|
|
|
073263 |
! test104.out test105.out test106.out \
|
|
|
073263 |
! test_options.out
|
|
|
073263 |
|
|
|
073263 |
SCRIPTS_GUI = test16.out
|
|
|
073263 |
|
|
|
073263 |
***************
|
|
|
073263 |
*** 53,59 ****
|
|
|
073263 |
|
|
|
073263 |
RM_ON_RUN = test.out X* viminfo
|
|
|
073263 |
RM_ON_START = tiny.vim small.vim mbyte.vim mzscheme.vim lua.vim test.ok
|
|
|
073263 |
! RUN_VIM = $(VALGRIND) $(VIMPROG) -u unix.vim -U NONE --noplugin -s dotest.in
|
|
|
073263 |
|
|
|
073263 |
clean:
|
|
|
073263 |
-rm -rf *.out *.failed *.rej *.orig test.log $(RM_ON_RUN) $(RM_ON_START) valgrind.*
|
|
|
073263 |
--- 55,61 ----
|
|
|
073263 |
|
|
|
073263 |
RM_ON_RUN = test.out X* viminfo
|
|
|
073263 |
RM_ON_START = tiny.vim small.vim mbyte.vim mzscheme.vim lua.vim test.ok
|
|
|
073263 |
! RUN_VIM = export VIMRUNTIME=$(SCRIPTSOURCE); $(VALGRIND) $(VIMPROG) -u unix.vim -U NONE --noplugin -s dotest.in
|
|
|
073263 |
|
|
|
073263 |
clean:
|
|
|
073263 |
-rm -rf *.out *.failed *.rej *.orig test.log $(RM_ON_RUN) $(RM_ON_START) valgrind.*
|
|
|
073263 |
*** ../vim-7.4.230/src/testdir/test_options.in 2014-04-01 14:07:21.057074867 +0200
|
|
|
073263 |
--- src/testdir/test_options.in 2014-04-01 13:19:34.073114305 +0200
|
|
|
073263 |
***************
|
|
|
073263 |
*** 0 ****
|
|
|
073263 |
--- 1,17 ----
|
|
|
073263 |
+ Test for ":options".
|
|
|
073263 |
+
|
|
|
073263 |
+ STARTTEST
|
|
|
073263 |
+ :so small.vim
|
|
|
073263 |
+ :let caught = 'ok'
|
|
|
073263 |
+ :try
|
|
|
073263 |
+ :options
|
|
|
073263 |
+ :catch
|
|
|
073263 |
+ :let caught = v:throwpoint . "\n" . v:exception
|
|
|
073263 |
+ :endtry
|
|
|
073263 |
+ :buf 1
|
|
|
073263 |
+ :$put =caught
|
|
|
073263 |
+ :/^result/,$w! test.out
|
|
|
073263 |
+ :qa!
|
|
|
073263 |
+ ENDTEST
|
|
|
073263 |
+
|
|
|
073263 |
+ result
|
|
|
073263 |
*** ../vim-7.4.230/src/testdir/test_options.ok 2014-04-01 14:07:21.065074867 +0200
|
|
|
073263 |
--- src/testdir/test_options.ok 2014-04-01 13:04:45.041126534 +0200
|
|
|
073263 |
***************
|
|
|
073263 |
*** 0 ****
|
|
|
073263 |
--- 1,2 ----
|
|
|
073263 |
+ result
|
|
|
073263 |
+ ok
|
|
|
073263 |
*** ../vim-7.4.230/src/testdir/Make_amiga.mak 2014-03-12 19:41:37.096948866 +0100
|
|
|
073263 |
--- src/testdir/Make_amiga.mak 2014-04-01 13:13:31.561119292 +0200
|
|
|
073263 |
***************
|
|
|
073263 |
*** 35,41 ****
|
|
|
073263 |
test89.out test90.out test91.out test92.out test93.out \
|
|
|
073263 |
test94.out test95.out test96.out test97.out test98.out \
|
|
|
073263 |
test99.out test100.out test101.out test102.out test103.out \
|
|
|
073263 |
! test104.out test105.out test106.out
|
|
|
073263 |
|
|
|
073263 |
.SUFFIXES: .in .out
|
|
|
073263 |
|
|
|
073263 |
--- 35,42 ----
|
|
|
073263 |
test89.out test90.out test91.out test92.out test93.out \
|
|
|
073263 |
test94.out test95.out test96.out test97.out test98.out \
|
|
|
073263 |
test99.out test100.out test101.out test102.out test103.out \
|
|
|
073263 |
! test104.out test105.out test106.out \
|
|
|
073263 |
! test_options.out
|
|
|
073263 |
|
|
|
073263 |
.SUFFIXES: .in .out
|
|
|
073263 |
|
|
|
073263 |
***************
|
|
|
073263 |
*** 158,160 ****
|
|
|
073263 |
--- 159,162 ----
|
|
|
073263 |
test104.out: test104.in
|
|
|
073263 |
test105.out: test105.in
|
|
|
073263 |
test106.out: test106.in
|
|
|
073263 |
+ test_options.out: test_options.in
|
|
|
073263 |
*** ../vim-7.4.230/src/testdir/Make_dos.mak 2014-03-12 19:41:37.096948866 +0100
|
|
|
073263 |
--- src/testdir/Make_dos.mak 2014-04-01 13:14:07.909118792 +0200
|
|
|
073263 |
***************
|
|
|
073263 |
*** 34,40 ****
|
|
|
073263 |
test89.out test90.out test91.out test92.out test93.out \
|
|
|
073263 |
test94.out test95.out test96.out test98.out test99.out \
|
|
|
073263 |
test100.out test101.out test102.out test103.out test104.out \
|
|
|
073263 |
! test105.out test106.out
|
|
|
073263 |
|
|
|
073263 |
SCRIPTS32 = test50.out test70.out
|
|
|
073263 |
|
|
|
073263 |
--- 34,41 ----
|
|
|
073263 |
test89.out test90.out test91.out test92.out test93.out \
|
|
|
073263 |
test94.out test95.out test96.out test98.out test99.out \
|
|
|
073263 |
test100.out test101.out test102.out test103.out test104.out \
|
|
|
073263 |
! test105.out test106.out \
|
|
|
073263 |
! test_options.out
|
|
|
073263 |
|
|
|
073263 |
SCRIPTS32 = test50.out test70.out
|
|
|
073263 |
|
|
|
073263 |
*** ../vim-7.4.230/src/testdir/Make_ming.mak 2014-03-12 19:41:37.096948866 +0100
|
|
|
073263 |
--- src/testdir/Make_ming.mak 2014-04-01 13:14:23.889118572 +0200
|
|
|
073263 |
***************
|
|
|
073263 |
*** 54,60 ****
|
|
|
073263 |
test89.out test90.out test91.out test92.out test93.out \
|
|
|
073263 |
test94.out test95.out test96.out test98.out test99.out \
|
|
|
073263 |
test100.out test101.out test102.out test103.out test104.out \
|
|
|
073263 |
! test105.out test106.out
|
|
|
073263 |
|
|
|
073263 |
SCRIPTS32 = test50.out test70.out
|
|
|
073263 |
|
|
|
073263 |
--- 54,61 ----
|
|
|
073263 |
test89.out test90.out test91.out test92.out test93.out \
|
|
|
073263 |
test94.out test95.out test96.out test98.out test99.out \
|
|
|
073263 |
test100.out test101.out test102.out test103.out test104.out \
|
|
|
073263 |
! test105.out test106.out \
|
|
|
073263 |
! test_options.out
|
|
|
073263 |
|
|
|
073263 |
SCRIPTS32 = test50.out test70.out
|
|
|
073263 |
|
|
|
073263 |
*** ../vim-7.4.230/src/testdir/Make_os2.mak 2014-03-12 19:41:37.096948866 +0100
|
|
|
073263 |
--- src/testdir/Make_os2.mak 2014-04-01 13:14:34.377118428 +0200
|
|
|
073263 |
***************
|
|
|
073263 |
*** 36,42 ****
|
|
|
073263 |
test89.out test90.out test91.out test92.out test93.out \
|
|
|
073263 |
test94.out test95.out test96.out test98.out test99.out \
|
|
|
073263 |
test100.out test101.out test102.out test103.out test104.out \
|
|
|
073263 |
! test105.out test106.out
|
|
|
073263 |
|
|
|
073263 |
.SUFFIXES: .in .out
|
|
|
073263 |
|
|
|
073263 |
--- 36,43 ----
|
|
|
073263 |
test89.out test90.out test91.out test92.out test93.out \
|
|
|
073263 |
test94.out test95.out test96.out test98.out test99.out \
|
|
|
073263 |
test100.out test101.out test102.out test103.out test104.out \
|
|
|
073263 |
! test105.out test106.out \
|
|
|
073263 |
! test_options.out
|
|
|
073263 |
|
|
|
073263 |
.SUFFIXES: .in .out
|
|
|
073263 |
|
|
|
073263 |
*** ../vim-7.4.230/src/testdir/Make_vms.mms 2014-03-12 19:41:37.096948866 +0100
|
|
|
073263 |
--- src/testdir/Make_vms.mms 2014-04-01 13:14:47.821118243 +0200
|
|
|
073263 |
***************
|
|
|
073263 |
*** 95,101 ****
|
|
|
073263 |
test90.out test91.out test92.out test93.out test94.out \
|
|
|
073263 |
test95.out test96.out test98.out test99.out \
|
|
|
073263 |
test100.out test101.out test103.out test104.out \
|
|
|
073263 |
! test105.out test106.out
|
|
|
073263 |
|
|
|
073263 |
# Known problems:
|
|
|
073263 |
# test17: ?
|
|
|
073263 |
--- 95,102 ----
|
|
|
073263 |
test90.out test91.out test92.out test93.out test94.out \
|
|
|
073263 |
test95.out test96.out test98.out test99.out \
|
|
|
073263 |
test100.out test101.out test103.out test104.out \
|
|
|
073263 |
! test105.out test106.out \
|
|
|
073263 |
! test_options.out
|
|
|
073263 |
|
|
|
073263 |
# Known problems:
|
|
|
073263 |
# test17: ?
|
|
|
073263 |
*** ../vim-7.4.230/src/version.c 2014-04-01 12:26:40.245157964 +0200
|
|
|
073263 |
--- src/version.c 2014-04-01 13:14:57.549118109 +0200
|
|
|
073263 |
***************
|
|
|
073263 |
*** 736,737 ****
|
|
|
073263 |
--- 736,739 ----
|
|
|
073263 |
{ /* Add new patch number below this line */
|
|
|
073263 |
+ /**/
|
|
|
073263 |
+ 231,
|
|
|
073263 |
/**/
|
|
|
073263 |
|
|
|
073263 |
--
|
|
|
073263 |
hundred-and-one symptoms of being an internet addict:
|
|
|
073263 |
11. You find yourself typing "com" after every period when using a word
|
|
|
073263 |
processor.com
|
|
|
073263 |
|
|
|
073263 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
|
073263 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
|
073263 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
|
073263 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|