comparison src/testdir/Make_ming.mak @ 39:c16898406ff2

synchorinize version 7.3.081
author one@zeus.cr.ie.u-ryukyu.ac.jp
date Fri, 17 Dec 2010 17:43:06 +0900
parents
children 67300faee616
comparison
equal deleted inserted replaced
38:e06a1cd7230d 39:c16898406ff2
1 #
2 # Makefile to run all tests for Vim, on Dos-like machines
3 # with sh.exe or zsh.exe in the path or not.
4 #
5 # Author: Bill McCarthy
6 #
7 # Note that test54 has been removed until it is fixed.
8 #
9 # Requires a set of Unix tools: echo, diff, etc.
10
11 ifneq (sh.exe, $(SHELL))
12 DEL = rm -f
13 MV = mv
14 CP = cp
15 DIRSLASH = /
16 else
17 DEL = del
18 MV = rename
19 CP = copy
20 DIRSLASH = \\
21 endif
22
23 VIMPROG = ..$(DIRSLASH)vim
24
25 # Omitted:
26 # test2 "\\tmp" doesn't work.
27 # test10 'errorformat' is different
28 # test12 can't unlink a swap file
29 # test25 uses symbolic link
30 # test27 can't edit file with "*" in file name
31 # test31 16 bit version runs out of memory...
32
33 SCRIPTS16 = test1.out test19.out test20.out test22.out \
34 test23.out test24.out test28.out test29.out \
35 test35.out test36.out test43.out \
36 test44.out test45.out test46.out test47.out \
37 test48.out test51.out test53.out \
38 test55.out test56.out test57.out test58.out test59.out \
39 test60.out test61.out test62.out test63.out test64.out
40
41 # Had to remove test54 which doesn't work yet.
42 # test54.out
43
44 SCRIPTS = test3.out test4.out test5.out test6.out test7.out \
45 test8.out test9.out test11.out test13.out test14.out \
46 test15.out test17.out test18.out test21.out test26.out \
47 test30.out test31.out test32.out test33.out test34.out \
48 test37.out test38.out test39.out test40.out test41.out \
49 test42.out test52.out test65.out test66.out test67.out \
50 test68.out test69.out test71.out test72.out test73.out \
51 test74.out test75.out test76.out
52
53 SCRIPTS32 = test50.out test70.out
54
55 SCRIPTS_GUI = test16.out
56
57 .SUFFIXES: .in .out
58
59 vimall: fixff $(SCRIPTS16) $(SCRIPTS) $(SCRIPTS_GUI) $(SCRIPTS32)
60 echo ALL DONE
61
62 nongui: fixff $(SCRIPTS16) $(SCRIPTS)
63 echo ALL DONE
64
65 small:
66 echo ALL DONE
67
68 gui: fixff $(SCRIPTS16) $(SCRIPTS) $(SCRIPTS_GUI)
69 echo ALL DONE
70
71 win32: fixff $(SCRIPTS16) $(SCRIPTS) $(SCRIPTS32)
72 echo ALL DONE
73
74 fixff:
75 -$(VIMPROG) -u dos.vim --noplugin "+argdo set ff=dos|upd" +q *.in *.ok
76
77 clean:
78 -$(DEL) *.out
79 -$(DEL) test.ok
80 -$(DEL) small.vim
81 -$(DEL) tiny.vim
82 -$(DEL) mbyte.vim
83 -$(DEL) mzscheme.vim
84 -$(DEL) X*
85 -$(DEL) viminfo
86
87 .in.out:
88 $(CP) $*.ok test.ok
89 $(VIMPROG) -u dos.vim -U NONE --noplugin -s dotest.in $*.in
90 diff test.out $*.ok
91 -$(DEL) $*.out
92 $(MV) test.out $*.out
93 -$(DEL) X*
94 -$(DEL) test.ok
95 -$(DEL) viminfo