changeset 15587:8ba0e158970d v8.1.0801

patch 8.1.0801: MinGW: no hint that tests fail because of small terminal commit https://github.com/vim/vim/commit/fb1199d934a27d338b18fe914e328346f093d3f6 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 24 12:18:46 2019 +0100 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)
author Bram Moolenaar <Bram@vim.org>
date Thu, 24 Jan 2019 12:30:06 +0100
parents 291f2cc021b0
children d1b7f02e6d29
files src/testdir/Make_ming.mak src/version.c
diffstat 2 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
--- a/src/version.c
+++ b/src/version.c
@@ -792,6 +792,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    801,
+/**/
     800,
 /**/
     799,