]> granicus.if.org Git - vim/commitdiff
patch 7.4.1026 v7.4.1026
authorBram Moolenaar <Bram@vim.org>
Sat, 2 Jan 2016 15:00:20 +0000 (16:00 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 2 Jan 2016 15:00:20 +0000 (16:00 +0100)
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.

src/testdir/Make_dos.mak
src/testdir/Make_ming.mak
src/version.c

index 644573499b6d69a6c15425bce8b34d3a76a9c098..f6e45d83eb2db0b44183f09113e88d302a59fe04 100644 (file)
@@ -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
index fb6278349c9ff80a70711939782cc592ac5b3ec8..88e72b15e2ca2391a02d242303c84e623be2f3b9 100644 (file)
 
 ifneq (sh.exe, $(SHELL))
 DEL = rm -f
+DELDIR = rm -rf
 MV = mv
 CP = cp
 CAT = cat
 DIRSLASH = /
 else
 DEL = del
+DELDIR = rd /s /q
 MV = rename
 CP = copy
 CAT = type
@@ -76,6 +78,8 @@ clean:
        -$(DEL) mbyte.vim
        -$(DEL) mzscheme.vim
        -$(DEL) lua.vim
+       -$(DELDIR) Xdir1
+       -$(DELDIR) Xfind
        -$(DEL) X*
        -$(DEL) viminfo
 
@@ -85,6 +89,8 @@ clean:
        diff test.out $*.ok
        -$(DEL) $*.out
        $(MV) test.out $*.out
+       -$(DELDIR) Xdir1
+       -$(DELDIR) Xfind
        -$(DEL) X*
        -$(DEL) test.ok
        -$(DEL) viminfo
index aaba44248279118ce789374fc8e91c74da16885d..e12ff71e7ff6f3fa84b0a0f0dd1985f2548b548b 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1026,
 /**/
     1025,
 /**/