blob: 07c2c278be4fe4f675a11af483e835dab35b238a [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001#
2# Makefile to run al tests for Vim, on Dos-like machines.
3#
4# Requires a set of Unix tools: echo, diff, etc.
5
6VIMPROG = ..\\vim
7
8# Omitted:
9# test2 "\\tmp" doesn't work.
10# test10 'errorformat' is different
11# test12 can't unlink a swap file
12# test25 uses symbolic link
13# test27 can't edit file with "*" in file name
14# test31 16 bit version runs out of memory...
15
16SCRIPTS16 = test1.out test19.out test20.out test22.out \
17 test23.out test24.out test28.out test29.out \
18 test35.out test36.out test43.out \
19 test44.out test45.out test46.out test47.out \
Bram Moolenaarb5bf5b82004-12-24 14:35:23 +000020 test48.out test51.out test53.out test54.out
Bram Moolenaar071d4272004-06-13 20:20:40 +000021
22SCRIPTS = test3.out test4.out test5.out test6.out test7.out \
23 test8.out test9.out test11.out test13.out test14.out \
24 test15.out test17.out test18.out test21.out test26.out \
25 test30.out test31.out test32.out test33.out test34.out \
26 test37.out test38.out test39.out test40.out test41.out \
27 test42.out test52.out
28
29SCRIPTS32 = test50.out
30
31SCRIPTS_GUI = test16.out
32
33.SUFFIXES: .in .out
34
35nongui: $(SCRIPTS16) $(SCRIPTS)
36 echo ALL DONE
37
38small: $(SCRIPTS16)
39 echo ALL DONE
40
41gui: $(SCRIPTS16) $(SCRIPTS) $(SCRIPTS_GUI)
42 echo ALL DONE
43
44win32: $(SCRIPTS16) $(SCRIPTS) $(SCRIPTS32)
45 echo ALL DONE
46
47clean:
48 -del *.out
49 -del test.ok
50 -del small.vim
51 -del tiny.vim
52 -del mbyte.vim
53 -del X*
54 -del viminfo
55
56.in.out:
57 copy $*.ok test.ok
58 $(VIMPROG) -u dos.vim -U NONE --noplugin -s dotest.in $*.in
59 diff test.out $*.ok
60 -del $*.out
61 rename test.out $*.out
62 -del X*
63 -del test.ok
64 -del viminfo