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:
@@ -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
|
||||
|
@@ -747,6 +747,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1352,
|
||||
/**/
|
||||
1351,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user