]> granicus.if.org Git - vim/commitdiff
patch 8.0.0145: running tests on MS-Windows is noisy v8.0.0145
authorBram Moolenaar <Bram@vim.org>
Fri, 6 Jan 2017 17:00:12 +0000 (18:00 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 6 Jan 2017 17:00:12 +0000 (18:00 +0100)
Problem:    Running tests on MS-Windows is a little bit noisy.
Solution:   Redirect some output to "nul". (Ken Takata)

src/testdir/Make_dos.mak
src/version.c

index b6aaa6e68fa8fdec24fdba3af71216a0722d2924..c28b1a4b1b4015f74eccdb81b3f8f9c98087b97f 100644 (file)
@@ -44,12 +44,12 @@ $(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
-       move $(*B).in $(*B).in.bak
-       copy $(DOSTMP)\$(*B).in $(*B).in
-       copy $(*B).ok test.ok
+       move $(*B).in $(*B).in.bak > nul
+       copy $(DOSTMP)\$(*B).in $(*B).in > nul
+       copy $(*B).ok test.ok > nul
        $(VIMPROG) -u dos.vim $(NO_PLUGIN) -s dotest.in $(*B).in
-       -@if exist test.out MOVE /y test.out $(DOSTMP)\$(*B).out
-       -@if exist $(*B).in.bak move /y $(*B).in.bak $(*B).in
+       -@if exist test.out MOVE /y test.out $(DOSTMP)\$(*B).out > nul
+       -@if exist $(*B).in.bak move /y $(*B).in.bak $(*B).in > nul
        -@if exist test.ok del test.ok
        -@if exist Xdir1 rd /s /q Xdir1
        -@if exist Xfind rd /s /q Xfind
@@ -58,10 +58,10 @@ $(TEST_OUTFILES): $(DOSTMP)\$(*B).in
        $(VIMPROG) -u dos.vim $(NO_PLUGIN) "+set ff=unix|f test.out|wq" \
                $(DOSTMP)\$(*B).out
        @diff test.out $*.ok & if errorlevel 1 \
-               ( move /y test.out $*.failed \
+               ( move /y test.out $*.failed > nul \
                 & del $(DOSTMP)\$(*B).out \
                 & echo $* FAILED >> test.log ) \
-               else ( move /y test.out $*.out )
+               else ( move /y test.out $*.out > nul )
 
 # Must run test1 first to create small.vim.
 # This rule must come after the one that copies the input files to dostmp to
index 78717e14a69c0a2c35de6586b47dd6277ef72e17..c3c33dc72ffb17cf0f57555c7c2523f29e6cf6e9 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    145,
 /**/
     144,
 /**/