Mercurial > vim
changeset 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 | cd6b18b18291 |
children | c3be771b8040 |
files | src/testdir/Make_dos.mak src/version.c |
diffstat | 2 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/Make_dos.mak +++ b/src/testdir/Make_dos.mak @@ -44,6 +44,7 @@ win32: nolog $(SCRIPTS_FIRST) $(SCRIPTS) # This moves test99.in to test99.in.bak temporarily. $(TEST_OUTFILES): $(DOSTMP)\$(*B).in -@if exist test.out DEL test.out + -@if exist $(DOSTMP)\$(*B).out DEL $(DOSTMP)\$(*B).out move $(*B).in $(*B).in.bak > nul copy $(DOSTMP)\$(*B).in $(*B).in > nul copy $(*B).ok test.ok > nul