comparison src/testdir/Make_ming.mak @ 21741:baccf9e06efe v8.2.1420

patch 8.2.1420: test 49 is old style Commit: https://github.com/vim/vim/commit/f7c4d83609acdfe0e4d0fec9413697ac97c0c3f9 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Aug 11 20:42:19 2020 +0200 patch 8.2.1420: test 49 is old style Problem: Test 49 is old style. Solution: Convert remaining parts to new style. Remove obsolete items. (Yegappan Lakshmanan, closes #6683)
author Bram Moolenaar <Bram@vim.org>
date Tue, 11 Aug 2020 20:45:05 +0200
parents dc1c26547a42
children 30bdd2e4a6f9
comparison
equal deleted inserted replaced
21740:54928f1c0d20 21741:baccf9e06efe
26 26
27 default: vimall 27 default: vimall
28 28
29 include Make_all.mak 29 include Make_all.mak
30 30
31 SCRIPTS = $(SCRIPTS_ALL) $(SCRIPTS_MORE1) $(SCRIPTS_MORE4) $(SCRIPTS_WIN32)
32
33 SCRIPTS_BENCH = test_bench_regexp.res 31 SCRIPTS_BENCH = test_bench_regexp.res
34 32
35 # Must run test1 first to create small.vim. 33 # Must run test1 first to create small.vim.
36 $(SCRIPTS) $(SCRIPTS_GUI) $(SCRIPTS_WIN32) $(NEW_TESTS_RES): $(SCRIPTS_FIRST) 34 $(NEW_TESTS_RES): $(SCRIPTS_FIRST)
37 35
38 .SUFFIXES: .in .out .res .vim 36 .SUFFIXES: .in .out .res .vim
39 37
40 vimall: fixff $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_GUI) $(SCRIPTS_WIN32) newtests 38 vimall: fixff $(SCRIPTS_FIRST) newtests
41 @echo ALL DONE 39 @echo ALL DONE
42 40
43 nongui: fixff nolog $(SCRIPTS_FIRST) $(SCRIPTS) newtests 41 nongui: fixff nolog $(SCRIPTS_FIRST) newtests
44 @echo ALL DONE 42 @echo ALL DONE
45 43
46 benchmark: $(SCRIPTS_BENCH) 44 benchmark: $(SCRIPTS_BENCH)
47 45
48 small: nolog 46 small: nolog
49 @echo ALL DONE 47 @echo ALL DONE
50 48
51 gui: fixff nolog $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_GUI) newtests 49 gui: fixff nolog $(SCRIPTS_FIRST) newtests
52 @echo ALL DONE 50 @echo ALL DONE
53 51
54 win32: fixff nolog $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_WIN32) newtests 52 win32: fixff nolog $(SCRIPTS_FIRST) newtests
55 @echo ALL DONE 53 @echo ALL DONE
56 54
57 # TODO: find a way to avoid changing the distributed files. 55 # TODO: find a way to avoid changing the distributed files.
58 fixff: 56 fixff:
59 -$(VIMPROG) -u dos.vim $(NO_INITS) "+argdo set ff=dos|upd" +q *.in *.ok 57 -$(VIMPROG) -u dos.vim $(NO_INITS) "+argdo set ff=dos|upd" +q *.in *.ok
85 -@if exist wrongtermsize ( \ 83 -@if exist wrongtermsize ( \
86 echo Vim window too small- must be 80x25 or larger && exit 1 \ 84 echo Vim window too small- must be 80x25 or larger && exit 1 \
87 ) 85 )
88 -@if exist test.out $(DEL) test.out 86 -@if exist test.out $(DEL) test.out
89 -@if exist viminfo $(DEL) viminfo 87 -@if exist viminfo $(DEL) viminfo
90
91 .in.out:
92 -@if exist $*.ok $(CP) $*.ok test.ok
93 $(VIMPROG) -u dos.vim $(NO_INITS) -s dotest.in $*.in
94 @diff test.out $*.ok
95 -@if exist $*.out $(DEL) $*.out
96 @$(MV) test.out $*.out
97 -@if exist Xdir1 $(DELDIR) Xdir1
98 -@if exist Xfind $(DELDIR) Xfind
99 -@if exist XfakeHOME $(DELDIR) XfakeHOME
100 -@if exist X* $(DEL) X*
101 -@if exist test.ok $(DEL) test.ok
102 -@if exist viminfo $(DEL) viminfo
103 88
104 nolog: 89 nolog:
105 -@if exist test.log $(DEL) test.log 90 -@if exist test.log $(DEL) test.log
106 -@if exist messages $(DEL) messages 91 -@if exist messages $(DEL) messages
107 92