diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-07-04 14:20:41 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-07-04 14:20:41 +0200 |
commit | 0d702028feb859e6bde9a0c943d398d86294beb7 (patch) | |
tree | 0202bf4cc0ceb6ed162721e284582f499e7e1201 /src/testdir/term_util.vim | |
parent | e4b407f536ba8bd007152649a347a95320d80fce (diff) |
patch 8.1.1624: when testing in the GUI may try to run gvim in a terminalv8.1.1624
Problem: When testing in the GUI may try to run gvim in a terminal.
Solution: Add the -v argument. (Yee Cheng Chin, closes #4605) Don't skip
tests that work now.
Diffstat (limited to 'src/testdir/term_util.vim')
-rw-r--r-- | src/testdir/term_util.vim | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/testdir/term_util.vim b/src/testdir/term_util.vim index 9bf38b39c2..1cfac0e9d0 100644 --- a/src/testdir/term_util.vim +++ b/src/testdir/term_util.vim @@ -59,10 +59,8 @@ func RunVimInTerminal(arguments, options) let cols = get(a:options, 'cols', 75) let statusoff = get(a:options, 'statusoff', 1) - let cmd = GetVimCommandClean() + let cmd = GetVimCommandCleanTerm() .. a:arguments - " Add -v to have gvim run in the terminal (if possible) - let cmd .= ' -v ' . a:arguments let buf = term_start(cmd, { \ 'curwin': 1, \ 'term_rows': rows, |