Skip to content

Commit b27523f

Browse files
committed
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.
1 parent 4a5a8dd commit b27523f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/testdir/Make_dos.mak

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ $(DOSTMP_INFILES): $(*B).in
4444
# This moves test99.in to test99.in.bak temporarily.
4545
$(TEST_OUTFILES): $(DOSTMP)\$(*B).in
4646
-@if exist test.out DEL test.out
47+
-@if exist $(DOSTMP)\$(*B).out DEL $(DOSTMP)\$(*B).out
4748
move $(*B).in $(*B).in.bak > nul
4849
copy $(DOSTMP)\$(*B).in $(*B).in > nul
4950
copy $(*B).ok test.ok > nul

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
462,
767769
/**/
768770
461,
769771
/**/

0 commit comments

Comments
 (0)