0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

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.
This commit is contained in:
Bram Moolenaar 2017-03-16 14:04:51 +01:00
parent 4a5a8dd6e5
commit b27523ff7a
2 changed files with 3 additions and 0 deletions

View File

@ -44,6 +44,7 @@ $(DOSTMP_INFILES): $(*B).in
# This moves test99.in to test99.in.bak temporarily. # This moves test99.in to test99.in.bak temporarily.
$(TEST_OUTFILES): $(DOSTMP)\$(*B).in $(TEST_OUTFILES): $(DOSTMP)\$(*B).in
-@if exist test.out DEL test.out -@if exist test.out DEL test.out
-@if exist $(DOSTMP)\$(*B).out DEL $(DOSTMP)\$(*B).out
move $(*B).in $(*B).in.bak > nul move $(*B).in $(*B).in.bak > nul
copy $(DOSTMP)\$(*B).in $(*B).in > nul copy $(DOSTMP)\$(*B).in $(*B).in > nul
copy $(*B).ok test.ok > nul copy $(*B).ok test.ok > nul

View File

@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
462,
/**/ /**/
461, 461,
/**/ /**/