Mercurial > vim
changeset 8116:3c1bdf20c8b9 v7.4.1352
commit https://github.com/vim/vim/commit/93bf558caef2d507ef6baf56eaf6025b63da1e34
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Feb 18 22:25:47 2016 +0100
patch 7.4.1352
Problem: The test script lists all functions before executing them.
Solution: Only list the function currently being executed.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 18 Feb 2016 22:30:09 +0100 |
parents | bfb8f0183718 |
children | 1a8ee36e2c56 |
files | src/testdir/runtest.vim src/version.c |
diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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