comparison src/testdir/Makefile @ 5363:91f6a28e010d v7.4.033

updated for version 7.4.033 Problem: When the terminal has only 20 lines test 92 and 93 overwrite the input file. Solution: Explicitly write test.out. Check that the terminal is large enough to run the tests. (Hirohito Higashi)
author Bram Moolenaar <bram@vim.org>
date Sun, 22 Sep 2013 15:03:38 +0200
parents 923738744a60
children 829aa8c8449d
comparison
equal deleted inserted replaced
5362:ab1508486b12 5363:91f6a28e010d
56 56
57 clean: 57 clean:
58 -rm -rf *.out *.failed *.rej *.orig test.log $(RM_ON_RUN) $(RM_ON_START) valgrind.* 58 -rm -rf *.out *.failed *.rej *.orig test.log $(RM_ON_RUN) $(RM_ON_START) valgrind.*
59 59
60 test1.out: test1.in 60 test1.out: test1.in
61 -rm -rf $*.failed $(RM_ON_RUN) $(RM_ON_START) 61 -rm -rf $*.failed $(RM_ON_RUN) $(RM_ON_START) wrongtermsize
62 $(RUN_VIM) $*.in 62 $(RUN_VIM) $*.in
63 @/bin/sh -c "if diff test.out $*.ok; \ 63 @/bin/sh -c "if test -e wrongtermsize; \
64 then echo; \
65 echo test1 FAILED - terminal size must be 80x24 or larger; \
66 echo; exit 1; \
67 elif diff test.out $*.ok; \
64 then mv -f test.out $*.out; \ 68 then mv -f test.out $*.out; \
65 else echo; \ 69 else echo; \
66 echo test1 FAILED - Something basic is wrong; \ 70 echo test1 FAILED - Something basic is wrong; \
67 echo; exit 1; fi" 71 echo; exit 1; fi"
68 -rm -rf X* viminfo 72 -rm -rf X* viminfo