diff options
author | James McCoy <jamessan@jamessan.com> | 2017-07-30 23:00:53 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-30 23:00:53 -0400 |
commit | 27356de2697ca542ded05ea6c2017a3ca738084f (patch) | |
tree | 8ac26ac0549434c20acb12ca6e939c555b710069 /src | |
parent | 10399165e5dd93a3cfda5082f4aa544a13273e5d (diff) | |
parent | 347dd9476ae2c77ebfc96abda928a342f26fe677 (diff) | |
download | rneovim-27356de2697ca542ded05ea6c2017a3ca738084f.tar.gz rneovim-27356de2697ca542ded05ea6c2017a3ca738084f.tar.bz2 rneovim-27356de2697ca542ded05ea6c2017a3ca738084f.zip |
Merge pull request #7104 from jamessan/run-oldtests-under-headless
oldtests: Run nvim using --headless to avoid requesting user input
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/testdir/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/testdir/Makefile b/src/nvim/testdir/Makefile index 510e8820f4..b45bd6ee14 100644 --- a/src/nvim/testdir/Makefile +++ b/src/nvim/testdir/Makefile @@ -132,7 +132,7 @@ $(SCRIPTS) $(SCRIPTS_GUI): $(NVIM_PRG) test1.out RM_ON_RUN := test.out X* viminfo RM_ON_START := test.ok -RUN_VIM := VIMRUNTIME=$(SCRIPTSOURCE); export VIMRUNTIME; $(TOOL) $(NVIM_PRG) -u unix.vim -U NONE -i viminfo --noplugin -s dotest.in +RUN_VIM := VIMRUNTIME=$(SCRIPTSOURCE); export VIMRUNTIME; $(TOOL) $(NVIM_PRG) -u unix.vim -U NONE -i viminfo --headless --noplugin -s dotest.in clean: -rm -rf *.out \ @@ -201,7 +201,7 @@ nolog: # New style of tests uses Vim script with assert calls. These are easier # to write and a lot easier to read and debug. # Limitation: Only works with the +eval feature. -RUN_VIMTEST = VIMRUNTIME=$(SCRIPTSOURCE); export VIMRUNTIME; $(VALGRIND) $(NVIM_PRG) -u unix.vim -U NONE --noplugin +RUN_VIMTEST = VIMRUNTIME=$(SCRIPTSOURCE); export VIMRUNTIME; $(VALGRIND) $(NVIM_PRG) -u unix.vim -U NONE --headless --noplugin newtests: newtestssilent @/bin/sh -c "if test -f messages && grep -q 'FAILED' messages; then \ |