0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 7.4.1352

Problem:    The test script lists all functions before executing them.
Solution:   Only list the function currently being executed.
This commit is contained in:
Bram Moolenaar
2016-02-18 22:25:47 +01:00
parent 81661fb868
commit 93bf558cae
2 changed files with 5 additions and 2 deletions

View File

@@ -90,12 +90,13 @@ endif
" Locate Test_ functions and execute them.
set nomore
redir @q
function /^Test_
silent function /^Test_
redir END
let s:tests = split(substitute(@q, 'function \(\k*()\)', '\1', 'g'))
" Execute the tests in alphabetical order.
for s:test in sort(s:tests)
for s:test in sort(s:tests)
echo 'Executing ' . s:test
if exists("*SetUp")
call SetUp()
endif

View File

@@ -747,6 +747,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1352,
/**/
1351,
/**/