comparison src/testdir/runtest.vim @ 10811:4cb74eab1733 v8.0.0295

patch 8.0.0295: test_viml hangs commit https://github.com/vim/vim/commit/7a073549a3b1e72037a4e98ceb406d057ac9ba50 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Feb 1 23:17:36 2017 +0100 patch 8.0.0295: test_viml hangs Problem: test_viml hangs. Solution: Put resetting 'more' before sourcing the script.
author Christian Brabandt <cb@256bit.org>
date Wed, 01 Feb 2017 23:30:04 +0100
parents 82c43bca568e
children e05695e59f6d
comparison
equal deleted inserted replaced
10810:6974e87488a0 10811:4cb74eab1733
54 if has('multi_byte') 54 if has('multi_byte')
55 set encoding=utf-8 55 set encoding=utf-8
56 else 56 else
57 set encoding=latin1 57 set encoding=latin1
58 endif 58 endif
59
60 " Avoid stopping at the "hit enter" prompt
61 set nomore
59 62
60 " Output all messages in English. 63 " Output all messages in English.
61 lang mess C 64 lang mess C
62 65
63 " Always use forward slashes. 66 " Always use forward slashes.
166 \ 'Test_pipe_through_sort_some()', 169 \ 'Test_pipe_through_sort_some()',
167 \ 'Test_reltime()', 170 \ 'Test_reltime()',
168 \ ] 171 \ ]
169 172
170 " Locate Test_ functions and execute them. 173 " Locate Test_ functions and execute them.
171 set nomore
172 redir @q 174 redir @q
173 silent function /^Test_ 175 silent function /^Test_
174 redir END 176 redir END
175 let s:tests = split(substitute(@q, 'function \(\k*()\)', '\1', 'g')) 177 let s:tests = split(substitute(@q, 'function \(\k*()\)', '\1', 'g'))
176 178