comparison src/testdir/screendump.vim @ 16314:606a49386aa1 v8.1.1162

patch 8.1.1162: incorrect coverage information; typo in color name commit https://github.com/vim/vim/commit/f587ef345e37ec5aa4b419e31780a1d951c9f702 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 13 13:13:54 2019 +0200 patch 8.1.1162: incorrect coverage information; typo in color name Problem: Incorrect coverage information; typo in color name. Solution: Fix the typo. Set environment variables to have a nested Vim write the coverage info in another directory.
author Bram Moolenaar <Bram@vim.org>
date Sat, 13 Apr 2019 13:15:05 +0200
parents 67e43b01497f
children 1679b9f54946
comparison
equal deleted inserted replaced
16313:805637c2c0fd 16314:606a49386aa1
53 let cols = get(a:options, 'cols', 75) 53 let cols = get(a:options, 'cols', 75)
54 54
55 let cmd = GetVimCommandClean() 55 let cmd = GetVimCommandClean()
56 56
57 " Add -v to have gvim run in the terminal (if possible) 57 " Add -v to have gvim run in the terminal (if possible)
58 " The GCOV_ environment variables cause the Vim running in the terminal to
59 " write the coverage information in the "nested" directory, to avoid two Vim
60 " instances try to write to the same coverage info file.
58 let cmd .= ' -v ' . a:arguments 61 let cmd .= ' -v ' . a:arguments
59 let buf = term_start(cmd, {'curwin': 1, 'term_rows': rows, 'term_cols': cols}) 62 let buf = term_start(cmd, {
63 \ 'curwin': 1,
64 \ 'term_rows': rows,
65 \ 'term_cols': cols,
66 \ 'env': {'GCOV_PREFIX': 'nested', 'GCOV_PREFIX_STRIP': 99},
67 \ })
60 if &termwinsize == '' 68 if &termwinsize == ''
61 " in the GUI we may end up with a different size, try to set it. 69 " in the GUI we may end up with a different size, try to set it.
62 if term_getsize(buf) != [rows, cols] 70 if term_getsize(buf) != [rows, cols]
63 call term_setsize(buf, rows, cols) 71 call term_setsize(buf, rows, cols)
64 endif 72 endif