Skip to content

Commit

Permalink
patch 8.0.0400: some tests have a one second delay
Browse files Browse the repository at this point in the history
Problem:    Some tests have a one second delay.
Solution:   Add --not-a-term in RunVim().
  • Loading branch information
brammool committed Mar 2, 2017
1 parent caf6434 commit 358f6b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/testdir/shared.vim
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ func RunVimPiped(before, after, arguments, pipecmd)
if cmd !~ '-u NONE'
let cmd = cmd . ' -u NONE'
endif
let cmd .= ' --not-a-term'

" With pipecmd we can't set VIMRUNTIME.
if a:pipecmd != ''
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -764,6 +764,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
400,
/**/
399,
/**/
Expand Down

0 comments on commit 358f6b0

Please sign in to comment.