From 16cc3cf9eb7e9b2caefc77311fb3e14743102418 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sat, 27 Apr 2019 11:06:41 +0200 Subject: [PATCH] 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 --- src/nvim/testdir/Makefile | 1 + src/nvim/testdir/test_autocmd.vim | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) 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