test: Set some options to reduce nondeterminism in functional tests

- shortmess+=I: Remove intro screen
- background=light: Disregard COLORFGBG environment variable
This commit is contained in:
Thiago de Arruda 2015-01-22 08:53:04 -03:00
parent 5b65ac2ca7
commit 3f0983e400

View File

@ -5,7 +5,8 @@ local AsyncSession = require('nvim.async_session')
local Session = require('nvim.session')
local nvim_prog = os.getenv('NVIM_PROG') or 'build/bin/nvim'
local nvim_argv = {nvim_prog, '-u', 'NONE', '-i', 'NONE', '-N', '--embed'}
local nvim_argv = {nvim_prog, '-u', 'NONE', '-i', 'NONE', '-N',
'--cmd', 'set shortmess+=I background=light', '--embed'}
local prepend_argv
if os.getenv('VALGRIND') then