summaryrefslogtreecommitdiff
path: root/src/testdir/Make_dos.mak
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-01-02 16:00:20 +0100
committerBram Moolenaar <Bram@vim.org>2016-01-02 16:00:20 +0100
commitacf92d27c94811e3bd6b84cfd54246e91d44c355 (patch)
tree53fd12aac02b8def8b59ee6ebe9c2920d96df44c /src/testdir/Make_dos.mak
parent6c7b44472f7055c78d996e1b626bd2932502212f (diff)
downloadvim-git-acf92d27c94811e3bd6b84cfd54246e91d44c355.tar.gz
patch 7.4.1026v7.4.1026
Problem: When using MingW the tests do not clean up all files. E.g. test 17 leaves Xdir1 behind. (Michael Soyka) Solution: Also delete directories, like Make_dos.mak. Delete files after directories to reduce warnings.
Diffstat (limited to 'src/testdir/Make_dos.mak')
-rw-r--r--src/testdir/Make_dos.mak4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/Make_dos.mak b/src/testdir/Make_dos.mak
index 644573499..f6e45d83e 100644
--- a/src/testdir/Make_dos.mak
+++ b/src/testdir/Make_dos.mak
@@ -51,10 +51,10 @@ $(TEST_OUTFILES): $(DOSTMP)\$(*B).in
$(VIMPROG) -u dos.vim -U NONE --noplugin -s dotest.in $(*B).in
-@if exist test.out MOVE /y test.out $(DOSTMP)\$(*B).out
-@if exist $(*B).in.bak move /y $(*B).in.bak $(*B).in
- -@del X*
-@if exist test.ok del test.ok
-@if exist Xdir1 rd /s /q Xdir1
-@if exist Xfind rd /s /q Xfind
+ -@del X*
-@if exist viminfo del viminfo
$(VIMPROG) -u dos.vim --noplugin "+set ff=unix|f test.out|wq" \
$(DOSTMP)\$(*B).out
@@ -87,9 +87,9 @@ clean:
-if exist mbyte.vim del mbyte.vim
-if exist mzscheme.vim del mzscheme.vim
-if exist lua.vim del lua.vim
- -del X*
-if exist Xdir1 rd /s /q Xdir1
-if exist Xfind rd /s /q Xfind
+ -del X*
-if exist viminfo del viminfo
-if exist test.log del test.log
-if exist messages del messages