Mercurial > vim
comparison src/testdir/runtest.vim @ 7637:81f94c1e2e4d v7.4.1118
commit https://github.com/vim/vim/commit/a99b90437af730dcafd9143c0942c87777a00d52
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 17 17:10:59 2016 +0100
patch 7.4.1118
Problem: Tests hang in 24 line terminal.
Solution: Set the 'more' option off.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 17 Jan 2016 17:15:05 +0100 |
parents | 2720952e9acb |
children | 770dd91ad9f7 |
comparison
equal
deleted
inserted
replaced
7636:526427b465e3 | 7637:81f94c1e2e4d |
---|---|
82 call add(errors, 'Caught exception: ' . v:exception . ' @ ' . v:throwpoint) | 82 call add(errors, 'Caught exception: ' . v:exception . ' @ ' . v:throwpoint) |
83 endtry | 83 endtry |
84 endif | 84 endif |
85 | 85 |
86 " Locate Test_ functions and execute them. | 86 " Locate Test_ functions and execute them. |
87 set nomore | |
87 redir @q | 88 redir @q |
88 function /^Test_ | 89 function /^Test_ |
89 redir END | 90 redir END |
90 let tests = split(substitute(@q, 'function \(\k*()\)', '\1', 'g')) | 91 let tests = split(substitute(@q, 'function \(\k*()\)', '\1', 'g')) |
91 | 92 |