|
Karsten Hopp |
5589d6 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
5589d6 |
Subject: Patch 7.3.987
|
|
Karsten Hopp |
5589d6 |
Fcc: outbox
|
|
Karsten Hopp |
5589d6 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
5589d6 |
Mime-Version: 1.0
|
|
Karsten Hopp |
5589d6 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
5589d6 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
5589d6 |
------------
|
|
Karsten Hopp |
5589d6 |
|
|
Karsten Hopp |
5589d6 |
Patch 7.3.987
|
|
Karsten Hopp |
5589d6 |
Problem: No easy to run an individual test. Tests 64 fails when
|
|
Karsten Hopp |
5589d6 |
'encoding' is not utf-8.
|
|
Karsten Hopp |
5589d6 |
Solution: Add individual test targets to the Makefile. Move some lines from
|
|
Karsten Hopp |
5589d6 |
test 64 to 95.
|
|
Karsten Hopp |
5589d6 |
Files: src/Makefile, src/testdir/test64.in, src/testdir/test64.ok,
|
|
Karsten Hopp |
5589d6 |
src/testdir/test95.in, src/testdir/test95.ok
|
|
Karsten Hopp |
5589d6 |
|
|
Karsten Hopp |
5589d6 |
|
|
Karsten Hopp |
5589d6 |
*** ../vim-7.3.986/src/Makefile 2013-05-19 19:16:25.000000000 +0200
|
|
Karsten Hopp |
5589d6 |
--- src/Makefile 2013-05-21 13:18:04.000000000 +0200
|
|
Karsten Hopp |
5589d6 |
***************
|
|
Karsten Hopp |
5589d6 |
*** 1861,1866 ****
|
|
Karsten Hopp |
5589d6 |
--- 1861,1879 ----
|
|
Karsten Hopp |
5589d6 |
./$$t || exit 1; echo $$t passed; \
|
|
Karsten Hopp |
5589d6 |
done
|
|
Karsten Hopp |
5589d6 |
|
|
Karsten Hopp |
5589d6 |
+ # Run individual test, assuming that Vim was already compiled.
|
|
Karsten Hopp |
5589d6 |
+ test1 test2 test3 test4 test5 test6 test7 test8 test9 test10 \
|
|
Karsten Hopp |
5589d6 |
+ test11 test12 test13 test14 test15 test16 test17 test18 test19 \
|
|
Karsten Hopp |
5589d6 |
+ test21 test22 test23 test24 test25 test26 test27 test28 test29 \
|
|
Karsten Hopp |
5589d6 |
+ test31 test32 test33 test34 test35 test36 test37 test38 test39 \
|
|
Karsten Hopp |
5589d6 |
+ test41 test42 test43 test44 test45 test46 test47 test48 test49 \
|
|
Karsten Hopp |
5589d6 |
+ test51 test52 test53 test54 test55 test56 test57 test58 test59 \
|
|
Karsten Hopp |
5589d6 |
+ test61 test62 test63 test64 test65 test66 test67 test68 test69 \
|
|
Karsten Hopp |
5589d6 |
+ test71 test72 test73 test74 test75 test76 test77 test78 test79 \
|
|
Karsten Hopp |
5589d6 |
+ test81 test82 test83 test84 test85 test86 test87 test88 test89 \
|
|
Karsten Hopp |
5589d6 |
+ test91 test92 test93 test94 test95 test96 test97 test98 test99:
|
|
Karsten Hopp |
5589d6 |
+ cd testdir; rm $@.out; $(MAKE) -f Makefile $@.out VIMPROG=../$(VIMTARGET)
|
|
Karsten Hopp |
5589d6 |
+
|
|
Karsten Hopp |
5589d6 |
testclean:
|
|
Karsten Hopp |
5589d6 |
cd testdir; $(MAKE) -f Makefile clean
|
|
Karsten Hopp |
5589d6 |
if test -d $(PODIR); then \
|
|
Karsten Hopp |
5589d6 |
*** ../vim-7.3.986/src/testdir/test64.in 2013-05-21 00:02:54.000000000 +0200
|
|
Karsten Hopp |
5589d6 |
--- src/testdir/test64.in 2013-05-21 13:23:27.000000000 +0200
|
|
Karsten Hopp |
5589d6 |
***************
|
|
Karsten Hopp |
5589d6 |
*** 262,271 ****
|
|
Karsten Hopp |
5589d6 |
:call add(tl, ['[a-zA-Z]', 'a', 'a'])
|
|
Karsten Hopp |
5589d6 |
:call add(tl, ['[A-Z]', 'a'])
|
|
Karsten Hopp |
5589d6 |
:call add(tl, ['\C[^A-Z]\+', 'ABCOIJDEOIFNSD jsfoij sa', ' jsfoij sa'])
|
|
Karsten Hopp |
5589d6 |
- :call add(tl, ['\i\+', '&*§xx ', 'xx'])
|
|
Karsten Hopp |
5589d6 |
- :call add(tl, ['\%#=1\i\+', '&*§xx ', 'xx'])
|
|
Karsten Hopp |
5589d6 |
- :call add(tl, ['\f\+', '&*fname ', 'fname'])
|
|
Karsten Hopp |
5589d6 |
- :call add(tl, ['\%#=1\i\+', '&*fname ', 'fname'])
|
|
Karsten Hopp |
5589d6 |
|
|
Karsten Hopp |
5589d6 |
:"""" Tests for \z features
|
|
Karsten Hopp |
5589d6 |
:call add(tl, ['xx \ze test', 'xx ']) " must match after \ze
|
|
Karsten Hopp |
5589d6 |
--- 262,267 ----
|
|
Karsten Hopp |
5589d6 |
***************
|
|
Karsten Hopp |
5589d6 |
*** 290,302 ****
|
|
Karsten Hopp |
5589d6 |
|
|
Karsten Hopp |
5589d6 |
:"""" Combining different tests and features
|
|
Karsten Hopp |
5589d6 |
:call add(tl, ['[[:alpha:]]\{-2,6}', '787abcdiuhsasiuhb4', 'ab'])
|
|
Karsten Hopp |
5589d6 |
- :call add(tl, ['[^[=a=]]\+', 'ddaãâbcd', 'dd'])
|
|
Karsten Hopp |
5589d6 |
:call add(tl, ['', 'abcd', ''])
|
|
Karsten Hopp |
5589d6 |
:call add(tl, ['\v(())', 'any possible text', ''])
|
|
Karsten Hopp |
5589d6 |
:call add(tl, ['\v%(ab(xyz)c)', ' abxyzc ', 'abxyzc', 'xyz'])
|
|
Karsten Hopp |
5589d6 |
:call add(tl, ['\v(test|)empty', 'tesempty', 'empty', ''])
|
|
Karsten Hopp |
5589d6 |
:call add(tl, ['\v(a|aa)(a|aa)', 'aaa', 'aa', 'a', 'a'])
|
|
Karsten Hopp |
5589d6 |
|
|
Karsten Hopp |
5589d6 |
|
|
Karsten Hopp |
5589d6 |
:"""" Run the tests
|
|
Karsten Hopp |
5589d6 |
|
|
Karsten Hopp |
5589d6 |
--- 286,303 ----
|
|
Karsten Hopp |
5589d6 |
|
|
Karsten Hopp |
5589d6 |
:"""" Combining different tests and features
|
|
Karsten Hopp |
5589d6 |
:call add(tl, ['[[:alpha:]]\{-2,6}', '787abcdiuhsasiuhb4', 'ab'])
|
|
Karsten Hopp |
5589d6 |
:call add(tl, ['', 'abcd', ''])
|
|
Karsten Hopp |
5589d6 |
:call add(tl, ['\v(())', 'any possible text', ''])
|
|
Karsten Hopp |
5589d6 |
:call add(tl, ['\v%(ab(xyz)c)', ' abxyzc ', 'abxyzc', 'xyz'])
|
|
Karsten Hopp |
5589d6 |
:call add(tl, ['\v(test|)empty', 'tesempty', 'empty', ''])
|
|
Karsten Hopp |
5589d6 |
:call add(tl, ['\v(a|aa)(a|aa)', 'aaa', 'aa', 'a', 'a'])
|
|
Karsten Hopp |
5589d6 |
|
|
Karsten Hopp |
5589d6 |
+ :"""" \%u and friends
|
|
Karsten Hopp |
5589d6 |
+ :call add(tl, ['\%d32', 'yes no', ' '])
|
|
Karsten Hopp |
5589d6 |
+ :call add(tl, ['\%o40', 'yes no', ' '])
|
|
Karsten Hopp |
5589d6 |
+ :call add(tl, ['\%x20', 'yes no', ' '])
|
|
Karsten Hopp |
5589d6 |
+ :call add(tl, ['\%u0020', 'yes no', ' '])
|
|
Karsten Hopp |
5589d6 |
+ :call add(tl, ['\%U00000020', 'yes no', ' '])
|
|
Karsten Hopp |
5589d6 |
|
|
Karsten Hopp |
5589d6 |
:"""" Run the tests
|
|
Karsten Hopp |
5589d6 |
|
|
Karsten Hopp |
5589d6 |
*** ../vim-7.3.986/src/testdir/test64.ok 2013-05-21 00:02:54.000000000 +0200
|
|
Karsten Hopp |
5589d6 |
--- src/testdir/test64.ok 2013-05-21 13:23:37.000000000 +0200
|
|
Karsten Hopp |
5589d6 |
***************
|
|
Karsten Hopp |
5589d6 |
*** 203,212 ****
|
|
Karsten Hopp |
5589d6 |
OK - [a-zA-Z]
|
|
Karsten Hopp |
5589d6 |
OK - [A-Z]
|
|
Karsten Hopp |
5589d6 |
OK - \C[^A-Z]\+
|
|
Karsten Hopp |
5589d6 |
- OK - \i\+
|
|
Karsten Hopp |
5589d6 |
- OK - \%#=1\i\+
|
|
Karsten Hopp |
5589d6 |
- OK - \f\+
|
|
Karsten Hopp |
5589d6 |
- OK - \%#=1\i\+
|
|
Karsten Hopp |
5589d6 |
OK - xx \ze test
|
|
Karsten Hopp |
5589d6 |
OK - abc\zeend
|
|
Karsten Hopp |
5589d6 |
OK - abc\zsdd
|
|
Karsten Hopp |
5589d6 |
--- 203,208 ----
|
|
Karsten Hopp |
5589d6 |
***************
|
|
Karsten Hopp |
5589d6 |
*** 225,234 ****
|
|
Karsten Hopp |
5589d6 |
OK - .*John\&.*Bob
|
|
Karsten Hopp |
5589d6 |
OK - \v(test1)@=.*yep
|
|
Karsten Hopp |
5589d6 |
OK - [[:alpha:]]\{-2,6}
|
|
Karsten Hopp |
5589d6 |
- OK - [^[=a=]]\+
|
|
Karsten Hopp |
5589d6 |
OK -
|
|
Karsten Hopp |
5589d6 |
OK - \v(())
|
|
Karsten Hopp |
5589d6 |
OK - \v%(ab(xyz)c)
|
|
Karsten Hopp |
5589d6 |
OK - \v(test|)empty
|
|
Karsten Hopp |
5589d6 |
OK - \v(a|aa)(a|aa)
|
|
Karsten Hopp |
5589d6 |
192.168.0.1
|
|
Karsten Hopp |
5589d6 |
--- 221,234 ----
|
|
Karsten Hopp |
5589d6 |
OK - .*John\&.*Bob
|
|
Karsten Hopp |
5589d6 |
OK - \v(test1)@=.*yep
|
|
Karsten Hopp |
5589d6 |
OK - [[:alpha:]]\{-2,6}
|
|
Karsten Hopp |
5589d6 |
OK -
|
|
Karsten Hopp |
5589d6 |
OK - \v(())
|
|
Karsten Hopp |
5589d6 |
OK - \v%(ab(xyz)c)
|
|
Karsten Hopp |
5589d6 |
OK - \v(test|)empty
|
|
Karsten Hopp |
5589d6 |
OK - \v(a|aa)(a|aa)
|
|
Karsten Hopp |
5589d6 |
+ OK - \%d32
|
|
Karsten Hopp |
5589d6 |
+ OK - \%o40
|
|
Karsten Hopp |
5589d6 |
+ OK - \%x20
|
|
Karsten Hopp |
5589d6 |
+ OK - \%u0020
|
|
Karsten Hopp |
5589d6 |
+ OK - \%U00000020
|
|
Karsten Hopp |
5589d6 |
192.168.0.1
|
|
Karsten Hopp |
5589d6 |
*** ../vim-7.3.986/src/testdir/test95.in 2013-05-21 13:05:05.000000000 +0200
|
|
Karsten Hopp |
5589d6 |
--- src/testdir/test95.in 2013-05-21 13:24:19.000000000 +0200
|
|
Karsten Hopp |
5589d6 |
***************
|
|
Karsten Hopp |
5589d6 |
*** 7,13 ****
|
|
Karsten Hopp |
5589d6 |
STARTTEST
|
|
Karsten Hopp |
5589d6 |
:so small.vim
|
|
Karsten Hopp |
5589d6 |
:so mbyte.vim
|
|
Karsten Hopp |
5589d6 |
! :set encoding=utf-8 viminfo+=nviminfo
|
|
Karsten Hopp |
5589d6 |
:" tl is a List of Lists with:
|
|
Karsten Hopp |
5589d6 |
:" regexp pattern
|
|
Karsten Hopp |
5589d6 |
:" text to test the pattern on
|
|
Karsten Hopp |
5589d6 |
--- 7,13 ----
|
|
Karsten Hopp |
5589d6 |
STARTTEST
|
|
Karsten Hopp |
5589d6 |
:so small.vim
|
|
Karsten Hopp |
5589d6 |
:so mbyte.vim
|
|
Karsten Hopp |
5589d6 |
! :set nocp encoding=utf-8 viminfo+=nviminfo
|
|
Karsten Hopp |
5589d6 |
:" tl is a List of Lists with:
|
|
Karsten Hopp |
5589d6 |
:" regexp pattern
|
|
Karsten Hopp |
5589d6 |
:" text to test the pattern on
|
|
Karsten Hopp |
5589d6 |
***************
|
|
Karsten Hopp |
5589d6 |
*** 29,34 ****
|
|
Karsten Hopp |
5589d6 |
--- 29,43 ----
|
|
Karsten Hopp |
5589d6 |
:" this is not a normal "i" but 0xec
|
|
Karsten Hopp |
5589d6 |
:call add(tl, ['\p\+', 'ìa', 'ìa'])
|
|
Karsten Hopp |
5589d6 |
|
|
Karsten Hopp |
5589d6 |
+ :"""" Test recognition of some character classes
|
|
Karsten Hopp |
5589d6 |
+ :call add(tl, ['\i\+', '&*§xx ', 'xx'])
|
|
Karsten Hopp |
5589d6 |
+ :call add(tl, ['\%#=1\i\+', '&*§xx ', 'xx'])
|
|
Karsten Hopp |
5589d6 |
+ :call add(tl, ['\f\+', '&*fname ', 'fname'])
|
|
Karsten Hopp |
5589d6 |
+ :call add(tl, ['\%#=1\i\+', '&*fname ', 'fname'])
|
|
Karsten Hopp |
5589d6 |
+
|
|
Karsten Hopp |
5589d6 |
+ :"""" Combining different tests and features
|
|
Karsten Hopp |
5589d6 |
+ :call add(tl, ['[^[=a=]]\+', 'ddaãâbcd', 'dd'])
|
|
Karsten Hopp |
5589d6 |
+
|
|
Karsten Hopp |
5589d6 |
:"""" Run the tests
|
|
Karsten Hopp |
5589d6 |
|
|
Karsten Hopp |
5589d6 |
:"
|
|
Karsten Hopp |
5589d6 |
*** ../vim-7.3.986/src/testdir/test95.ok 2013-05-21 12:34:13.000000000 +0200
|
|
Karsten Hopp |
5589d6 |
--- src/testdir/test95.ok 2013-05-21 13:24:23.000000000 +0200
|
|
Karsten Hopp |
5589d6 |
***************
|
|
Karsten Hopp |
5589d6 |
*** 5,7 ****
|
|
Karsten Hopp |
5589d6 |
--- 5,12 ----
|
|
Karsten Hopp |
5589d6 |
OK - [^ ]\+
|
|
Karsten Hopp |
5589d6 |
OK - [ม[:alpha:][=a=]]\+
|
|
Karsten Hopp |
5589d6 |
OK - \p\+
|
|
Karsten Hopp |
5589d6 |
+ OK - \i\+
|
|
Karsten Hopp |
5589d6 |
+ OK - \%#=1\i\+
|
|
Karsten Hopp |
5589d6 |
+ OK - \f\+
|
|
Karsten Hopp |
5589d6 |
+ OK - \%#=1\i\+
|
|
Karsten Hopp |
5589d6 |
+ OK - [^[=a=]]\+
|
|
Karsten Hopp |
5589d6 |
*** ../vim-7.3.986/src/version.c 2013-05-21 13:05:05.000000000 +0200
|
|
Karsten Hopp |
5589d6 |
--- src/version.c 2013-05-21 13:27:12.000000000 +0200
|
|
Karsten Hopp |
5589d6 |
***************
|
|
Karsten Hopp |
5589d6 |
*** 730,731 ****
|
|
Karsten Hopp |
5589d6 |
--- 730,733 ----
|
|
Karsten Hopp |
5589d6 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
5589d6 |
+ /**/
|
|
Karsten Hopp |
5589d6 |
+ 987,
|
|
Karsten Hopp |
5589d6 |
/**/
|
|
Karsten Hopp |
5589d6 |
|
|
Karsten Hopp |
5589d6 |
--
|
|
Karsten Hopp |
5589d6 |
An SQL statement walks into a bar. He approaches two tables
|
|
Karsten Hopp |
5589d6 |
and says, "Mind if I join you?"
|
|
Karsten Hopp |
5589d6 |
|
|
Karsten Hopp |
5589d6 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
5589d6 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
5589d6 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
5589d6 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|