mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 07:28:34 +00:00
vim-patch:7.4.1352 (#4914)
Problem: The test script lists all functions before executing them.
Solution: Only list the function currently being executed.
93bf558cae
This commit is contained in:

committed by
Justin M. Keyes

parent
e247e3acdd
commit
0ea01c1586
@@ -61,12 +61,13 @@ endif
|
|||||||
" Locate Test_ functions and execute them.
|
" Locate Test_ functions and execute them.
|
||||||
set nomore
|
set nomore
|
||||||
redir @q
|
redir @q
|
||||||
function /^Test_
|
silent function /^Test_
|
||||||
redir END
|
redir END
|
||||||
let tests = split(substitute(@q, 'function \(\k*()\)', '\1', 'g'))
|
let tests = split(substitute(@q, 'function \(\k*()\)', '\1', 'g'))
|
||||||
|
|
||||||
" Execute the tests in alphabetical order.
|
" Execute the tests in alphabetical order.
|
||||||
for test in sort(tests)
|
for test in sort(tests)
|
||||||
|
echo 'Executing ' . test
|
||||||
if exists("*SetUp")
|
if exists("*SetUp")
|
||||||
call SetUp()
|
call SetUp()
|
||||||
endif
|
endif
|
||||||
|
@@ -341,7 +341,7 @@ static int included_patches[] = {
|
|||||||
// 1355 NA
|
// 1355 NA
|
||||||
// 1354 NA
|
// 1354 NA
|
||||||
// 1353 NA
|
// 1353 NA
|
||||||
// 1352,
|
1352,
|
||||||
// 1351 NA
|
// 1351 NA
|
||||||
// 1350 NA
|
// 1350 NA
|
||||||
// 1349 NA
|
// 1349 NA
|
||||||
|
Reference in New Issue
Block a user