From: Bram Moolenaar Date: Thu, 24 Jan 2019 11:18:46 +0000 (+0100) Subject: patch 8.1.0801: MinGW: no hint that tests fail because of small terminal X-Git-Tag: v8.1.0801 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fb1199d934a27d338b18fe914e328346f093d3f6;p=vim patch 8.1.0801: MinGW: no hint that tests fail because of small terminal Problem: MinGW: no hint that tests fail because of small terminal. Solution: Add a rule for test1 that checks for "wrongtermsize". (msoyka-of-wharton) --- diff --git a/src/testdir/Make_ming.mak b/src/testdir/Make_ming.mak index a2e586fe6..2ad34b9b5 100644 --- a/src/testdir/Make_ming.mak +++ b/src/testdir/Make_ming.mak @@ -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 diff --git a/src/version.c b/src/version.c index b8b06307d..d66296529 100644 --- a/src/version.c +++ b/src/version.c @@ -791,6 +791,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 801, /**/ 800, /**/