diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-02-18 22:25:47 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-02-18 22:25:47 +0100 |
commit | 93bf558caef2d507ef6baf56eaf6025b63da1e34 (patch) | |
tree | 00156a8c6ddac03157222a15db859167306494dc | |
parent | 81661fb86801e6d6e5194b43dfd27d73fcc016ec (diff) | |
download | vim-git-93bf558caef2d507ef6baf56eaf6025b63da1e34.tar.gz |
patch 7.4.1352v7.4.1352
Problem: The test script lists all functions before executing them.
Solution: Only list the function currently being executed.
-rw-r--r-- | src/testdir/runtest.vim | 5 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim index da515f0ae..2d5e21c92 100644 --- a/src/testdir/runtest.vim +++ b/src/testdir/runtest.vim @@ -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 diff --git a/src/version.c b/src/version.c index 71652281f..c46e44757 100644 --- a/src/version.c +++ b/src/version.c @@ -748,6 +748,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1352, +/**/ 1351, /**/ 1350, |