Mercurial > vim
comparison src/testdir/shared.vim @ 11022:ca8f2d24a79c v8.0.0400
patch 8.0.0400: some tests have a one second delay
commit https://github.com/vim/vim/commit/358f6b0a36d25e0e2f8f1fc625974816b71fa50a
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 2 22:43:01 2017 +0100
patch 8.0.0400: some tests have a one second delay
Problem: Some tests have a one second delay.
Solution: Add --not-a-term in RunVim().
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 02 Mar 2017 22:45:05 +0100 |
parents | e664ee056a84 |
children | 9836b701afd9 |
comparison
equal
deleted
inserted
replaced
11021:44b7e807403c | 11022:ca8f2d24a79c |
---|---|
190 let cmd = readfile('vimcmd')[0] | 190 let cmd = readfile('vimcmd')[0] |
191 let cmd = substitute(cmd, '-u \f\+', '-u NONE', '') | 191 let cmd = substitute(cmd, '-u \f\+', '-u NONE', '') |
192 if cmd !~ '-u NONE' | 192 if cmd !~ '-u NONE' |
193 let cmd = cmd . ' -u NONE' | 193 let cmd = cmd . ' -u NONE' |
194 endif | 194 endif |
195 let cmd .= ' --not-a-term' | |
195 | 196 |
196 " With pipecmd we can't set VIMRUNTIME. | 197 " With pipecmd we can't set VIMRUNTIME. |
197 if a:pipecmd != '' | 198 if a:pipecmd != '' |
198 let cmd = substitute(cmd, 'VIMRUNTIME=.*VIMRUNTIME;', '', '') | 199 let cmd = substitute(cmd, 'VIMRUNTIME=.*VIMRUNTIME;', '', '') |
199 endif | 200 endif |