Mercurial > vim
comparison src/testdir/Make_dos.mak @ 11150:9f9409588102 v8.0.0462
patch 8.0.0462: failure of an MS-Windows test may go unnoticed
commit https://github.com/vim/vim/commit/b27523ff7ab3083c20c0f33415d890f978726c4f
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 16 14:04:51 2017 +0100
patch 8.0.0462: failure of an MS-Windows test may go unnoticed
Problem: If an MS-Windows tests succeeds at first and then fails in a way
it does not produce a test.out file it looks like the test
succeeded.
Solution: Delete the previous output file.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 16 Mar 2017 14:15:04 +0100 |
parents | d8a550329a97 |
children | 042e634bb8d9 |
comparison
equal
deleted
inserted
replaced
11149:cd6b18b18291 | 11150:9f9409588102 |
---|---|
42 | 42 |
43 # For each input file dostmp/test99.in run the tests. | 43 # For each input file dostmp/test99.in run the tests. |
44 # This moves test99.in to test99.in.bak temporarily. | 44 # This moves test99.in to test99.in.bak temporarily. |
45 $(TEST_OUTFILES): $(DOSTMP)\$(*B).in | 45 $(TEST_OUTFILES): $(DOSTMP)\$(*B).in |
46 -@if exist test.out DEL test.out | 46 -@if exist test.out DEL test.out |
47 -@if exist $(DOSTMP)\$(*B).out DEL $(DOSTMP)\$(*B).out | |
47 move $(*B).in $(*B).in.bak > nul | 48 move $(*B).in $(*B).in.bak > nul |
48 copy $(DOSTMP)\$(*B).in $(*B).in > nul | 49 copy $(DOSTMP)\$(*B).in $(*B).in > nul |
49 copy $(*B).ok test.ok > nul | 50 copy $(*B).ok test.ok > nul |
50 $(VIMPROG) -u dos.vim $(NO_INITS) -s dotest.in $(*B).in | 51 $(VIMPROG) -u dos.vim $(NO_INITS) -s dotest.in $(*B).in |
51 -@if exist test.out MOVE /y test.out $(DOSTMP)\$(*B).out > nul | 52 -@if exist test.out MOVE /y test.out $(DOSTMP)\$(*B).out > nul |