summaryrefslogtreecommitdiffstats
path: root/src/testdir/Make_ming.mak
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-01-24 12:18:46 +0100
committerBram Moolenaar <Bram@vim.org>2019-01-24 12:18:46 +0100
commitfb1199d934a27d338b18fe914e328346f093d3f6 (patch)
tree19a1bfd69bb51ce27ef0203c6c4fbaa46bf3626e /src/testdir/Make_ming.mak
parent4456ab527a6a5faae9287f3bd2e52cc18966cfb0 (diff)
patch 8.1.0801: MinGW: no hint that tests fail because of small terminalv8.1.0801
Problem: MinGW: no hint that tests fail because of small terminal. Solution: Add a rule for test1 that checks for "wrongtermsize". (msoyka-of-wharton)
Diffstat (limited to 'src/testdir/Make_ming.mak')
-rw-r--r--src/testdir/Make_ming.mak9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/testdir/Make_ming.mak b/src/testdir/Make_ming.mak
index a2e586fe69..2ad34b9b5a 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