Permalink
Browse files

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.
  • Loading branch information...
brammool committed Mar 16, 2017
1 parent 4a5a8dd commit b27523ff7ab3083c20c0f33415d890f978726c4f
Showing with 3 additions and 0 deletions.
  1. +1 −0 src/testdir/Make_dos.mak
  2. +2 −0 src/version.c
View
@@ -44,6 +44,7 @@ $(DOSTMP_INFILES): $(*B).in
# 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
View
@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 462,
/**/
461,
/**/

0 comments on commit b27523f

Please sign in to comment.