aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-04-27 11:06:41 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-04-27 11:07:26 +0200
commit16cc3cf9eb7e9b2caefc77311fb3e14743102418 (patch)
treeb8cd55c7d9010aed7627dc85918d2b21efdc5d31
parent6a9a729674e1683566672b264ccef4b6dcd7bd93 (diff)
downloadrneovim-16cc3cf9eb7e9b2caefc77311fb3e14743102418.tar.gz
rneovim-16cc3cf9eb7e9b2caefc77311fb3e14743102418.tar.bz2
rneovim-16cc3cf9eb7e9b2caefc77311fb3e14743102418.zip
test/old: remove test.out files
Do this for new-style tests too, because they run after the old-style tests which don't clean up their temp files. Reverts ebd251c
-rw-r--r--src/nvim/testdir/Makefile1
-rw-r--r--src/nvim/testdir/test_autocmd.vim1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/Makefile b/src/nvim/testdir/Makefile
index fac27aa346..6ce49e7596 100644
--- a/src/nvim/testdir/Makefile
+++ b/src/nvim/testdir/Makefile
@@ -164,5 +164,6 @@ newtestssilent: $(NEW_TESTS)
%.res: %.vim .gdbinit
@echo "[OLDTEST] Running" $*
+ @rm -rf $*.failed test.ok $(RM_ON_RUN)
@mkdir -p $(TMPDIR)
@/bin/sh runnvim.sh $(ROOT) $(NVIM_PRG) $* $(RUN_VIMTEST) -u NONE -S runtest.vim $*.vim
diff --git a/src/nvim/testdir/test_autocmd.vim b/src/nvim/testdir/test_autocmd.vim
index 23508918b3..cf08df4b08 100644
--- a/src/nvim/testdir/test_autocmd.vim
+++ b/src/nvim/testdir/test_autocmd.vim
@@ -1469,7 +1469,6 @@ func Test_ReadWrite_Autocmds()
augroup END
" Test for the FileAppendPre and FileAppendPost autocmds
- call delete('test.out')
augroup Test2
au!
au BufNewFile *.c read Xtest.c