]> granicus.if.org Git - vim/commitdiff
patch 8.1.0801: MinGW: no hint that tests fail because of small terminal v8.1.0801
authorBram Moolenaar <Bram@vim.org>
Thu, 24 Jan 2019 11:18:46 +0000 (12:18 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 24 Jan 2019 11:18:46 +0000 (12:18 +0100)
Problem:    MinGW: no hint that tests fail because of small terminal.
Solution:   Add a rule for test1 that checks for "wrongtermsize".
            (msoyka-of-wharton)

src/testdir/Make_ming.mak
src/version.c

index a2e586fe697b063e927b2b6a4a4ade88444316c7..2ad34b9b5afd215005203057176125a6f95e3081 100644 (file)
@@ -84,6 +84,15 @@ clean:
        -@if exist messages $(DEL) messages
        -@if exist opt_test.vim $(DEL) opt_test.vim
 
+test1.out: test1.in
+       -@if exist wrongtermsize  $(DEL) wrongtermsize
+       $(VIMPROG) -u dos.vim $(NO_INITS) -s dotest.in test1.in
+       -@if exist wrongtermsize  ( \
+           echo Vim window too small- must be 80x25 or larger && exit 1 \
+           )
+       -@if exist test.out $(DEL) test.out
+       -@if exist viminfo  $(DEL) viminfo
+
 .in.out:
        -@if exist $*.ok $(CP) $*.ok test.ok
        $(VIMPROG) -u dos.vim $(NO_INITS) -s dotest.in $*.in
index b8b06307ddaa7b8836a280d3d4d01b7396e54a19..d66296529e20df1dc4c211c4b61a27c344f6a993 100644 (file)
@@ -791,6 +791,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    801,
 /**/
     800,
 /**/