Mercurial > vim
comparison src/testdir/Make_ming.mak @ 7445:e81526d6709f v7.4.1026
commit https://github.com/vim/vim/commit/acf92d27c94811e3bd6b84cfd54246e91d44c355
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 2 16:00:20 2016 +0100
patch 7.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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 02 Jan 2016 16:15:03 +0100 |
parents | eec1dc8ca160 |
children | 2720952e9acb |
comparison
equal
deleted
inserted
replaced
7444:045cd3a3a7ae | 7445:e81526d6709f |
---|---|
8 # | 8 # |
9 # Requires a set of Unix tools: echo, diff, etc. | 9 # Requires a set of Unix tools: echo, diff, etc. |
10 | 10 |
11 ifneq (sh.exe, $(SHELL)) | 11 ifneq (sh.exe, $(SHELL)) |
12 DEL = rm -f | 12 DEL = rm -f |
13 DELDIR = rm -rf | |
13 MV = mv | 14 MV = mv |
14 CP = cp | 15 CP = cp |
15 CAT = cat | 16 CAT = cat |
16 DIRSLASH = / | 17 DIRSLASH = / |
17 else | 18 else |
18 DEL = del | 19 DEL = del |
20 DELDIR = rd /s /q | |
19 MV = rename | 21 MV = rename |
20 CP = copy | 22 CP = copy |
21 CAT = type | 23 CAT = type |
22 DIRSLASH = \\ | 24 DIRSLASH = \\ |
23 endif | 25 endif |
74 -$(DEL) small.vim | 76 -$(DEL) small.vim |
75 -$(DEL) tiny.vim | 77 -$(DEL) tiny.vim |
76 -$(DEL) mbyte.vim | 78 -$(DEL) mbyte.vim |
77 -$(DEL) mzscheme.vim | 79 -$(DEL) mzscheme.vim |
78 -$(DEL) lua.vim | 80 -$(DEL) lua.vim |
81 -$(DELDIR) Xdir1 | |
82 -$(DELDIR) Xfind | |
79 -$(DEL) X* | 83 -$(DEL) X* |
80 -$(DEL) viminfo | 84 -$(DEL) viminfo |
81 | 85 |
82 .in.out: | 86 .in.out: |
83 $(CP) $*.ok test.ok | 87 $(CP) $*.ok test.ok |
84 $(VIMPROG) -u dos.vim -U NONE --noplugin -s dotest.in $*.in | 88 $(VIMPROG) -u dos.vim -U NONE --noplugin -s dotest.in $*.in |
85 diff test.out $*.ok | 89 diff test.out $*.ok |
86 -$(DEL) $*.out | 90 -$(DEL) $*.out |
87 $(MV) test.out $*.out | 91 $(MV) test.out $*.out |
92 -$(DELDIR) Xdir1 | |
93 -$(DELDIR) Xfind | |
88 -$(DEL) X* | 94 -$(DEL) X* |
89 -$(DEL) test.ok | 95 -$(DEL) test.ok |
90 -$(DEL) viminfo | 96 -$(DEL) viminfo |
91 | 97 |
92 bench_re_freeze.out: bench_re_freeze.vim | 98 bench_re_freeze.out: bench_re_freeze.vim |