1#
2# Makefile to run all tests for Vim, on Amiga
3#
4# Requires "rm", "csh" and "diff"!
5
6VIMPROG = /vim
7
8# These tests don't work (yet):
9# test2		"\\tmp" doesn't work
10# test10	'errorformat' is different
11# test11	"cat" doesn't work properly
12# test12	can't unlink a swap file
13# test25	uses symbolic link
14# test27	can't edit file with "*"
15# test52	only for Win32
16
17SCRIPTS = test1.out test3.out test4.out test5.out test6.out \
18		test7.out test8.out test9.out \
19		test13.out test14.out test15.out test17.out \
20		test18.out test19.out test20.out test21.out test22.out \
21		test23.out test24.out test26.out \
22		test28.out test29.out test30.out test31.out test32.out \
23		test33.out test34.out test35.out test36.out test37.out \
24		test38.out test39.out test40.out test41.out test42.out \
25		test43.out test44.out test45.out test46.out test47.out \
26		test48.out test51.out test53.out test54.out test55.out \
27		test56.out test57.out test58.out test59.out test60.out \
28		test61.out test62.out test63.out test64.out test65.out \
29		test66.out test67.out test68.out test69.out test70.out \
30		test71.out test72.out test73.out
31
32.SUFFIXES: .in .out
33
34nongui:	/tmp $(SCRIPTS)
35	csh -c echo ALL DONE
36
37clean:
38	csh -c \rm -rf *.out /tmp/* Xdotest small.vim tiny.vim mbyte.vim test.ok viminfo
39
40.in.out:
41	copy $*.ok test.ok
42	$(VIMPROG) -u amiga.vim -U NONE --noplugin -s dotest.in $*.in
43	diff test.out $*.ok
44	rename test.out $*.out
45	-delete X#? ALL QUIET
46	-delete test.ok
47
48# Create a directory for temp files
49/tmp:
50	makedir /tmp
51
52# Manx requires all dependencies...
53test1.out: test1.in
54test2.out: test2.in
55test3.out: test3.in
56test4.out: test4.in
57test5.out: test5.in
58test6.out: test6.in
59test7.out: test7.in
60test8.out: test8.in
61test9.out: test9.in
62test10.out: test10.in
63test11.out: test11.in
64test12.out: test12.in
65test13.out: test13.in
66test14.out: test14.in
67test15.out: test15.in
68test16.out: test16.in
69test17.out: test17.in
70test18.out: test18.in
71test19.out: test19.in
72test20.out: test20.in
73test21.out: test21.in
74test22.out: test22.in
75test23.out: test23.in
76test24.out: test24.in
77test25.out: test25.in
78test26.out: test26.in
79test27.out: test27.in
80test28.out: test28.in
81test29.out: test29.in
82test30.out: test30.in
83test31.out: test31.in
84test32.out: test32.in
85test33.out: test33.in
86test34.out: test34.in
87test35.out: test35.in
88test36.out: test36.in
89test37.out: test37.in
90test38.out: test38.in
91test39.out: test39.in
92test40.out: test40.in
93test41.out: test41.in
94test42.out: test42.in
95test43.out: test43.in
96test44.out: test44.in
97test45.out: test45.in
98test46.out: test46.in
99test47.out: test47.in
100test48.out: test48.in
101test51.out: test51.in
102test53.out: test53.in
103test54.out: test54.in
104test55.out: test55.in
105test56.out: test56.in
106test57.out: test57.in
107test58.out: test58.in
108test59.out: test59.in
109test60.out: test60.in
110test61.out: test61.in
111test62.out: test62.in
112test63.out: test63.in
113test64.out: test64.in
114test65.out: test65.in
115test66.out: test66.in
116test67.out: test67.in
117test68.out: test68.in
118test69.out: test69.in
119test70.out: test70.in
120test71.out: test71.in
121test72.out: test72.in
122test73.out: test73.in
123