Skip to content

Commit 93bf558

Browse files
committed
patch 7.4.1352
Problem: The test script lists all functions before executing them. Solution: Only list the function currently being executed.
1 parent 81661fb commit 93bf558

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/testdir/runtest.vim

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,13 @@ endif
9090
" Locate Test_ functions and execute them.
9191
set nomore
9292
redir @q
93-
function /^Test_
93+
silent function /^Test_
9494
redir END
9595
let s:tests = split(substitute(@q, 'function \(\k*()\)', '\1', 'g'))
9696

9797
" Execute the tests in alphabetical order.
98-
for s:test in sort(s:tests)
98+
for s:test in sort(s:tests)
99+
echo 'Executing ' . s:test
99100
if exists("*SetUp")
100101
call SetUp()
101102
endif

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -747,6 +747,8 @@ static char *(features[]) =
747747

748748
static int included_patches[] =
749749
{ /* Add new patch number below this line */
750+
/**/
751+
1352,
750752
/**/
751753
1351,
752754
/**/

0 commit comments

Comments
 (0)