blob: d052855d3fec74627bef91d402b8ebf6c475264a [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001#
Bram Moolenaar68392722010-07-30 22:04:17 +02002# Makefile to run all tests for Vim, on OS/2
Bram Moolenaar071d4272004-06-13 20:20:40 +00003#
4# Requires a set of Unix tools: echo, diff, etc.
5
6VIMPROG = ../vim.exe
7
8# Omitted:
9# test2 "\\tmp" doesn't work.
10# test10 'errorformat' is different
11# test11 requires sed
12# test12 can't unlink a swap file
13# test25 uses symbolic link
14# test27 can't edit file with "*" in file name
15# test52 only for Win32
Bram Moolenaar98411e52012-04-05 16:56:52 +020016# test85 no Lua interface
Bram Moolenaardb913952012-06-29 12:54:53 +020017# test86, 87 no Python interface
Bram Moolenaar071d4272004-06-13 20:20:40 +000018
19SCRIPTS = test1.out test3.out test4.out test5.out test6.out \
20 test7.out test8.out test9.out \
21 test13.out test14.out test15.out test17.out \
22 test18.out test19.out test20.out test21.out test22.out \
23 test23.out test24.out test26.out \
24 test28.out test29.out test30.out test31.out test32.out \
25 test33.out test34.out test35.out test36.out test37.out \
26 test38.out test39.out test40.out test41.out test42.out \
27 test43.out test44.out test45.out test46.out test47.out \
Bram Moolenaard9d30582005-05-18 22:10:28 +000028 test48.out test51.out test53.out test54.out test55.out \
Bram Moolenaarc4675a12006-03-15 22:50:30 +000029 test56.out test57.out test58.out test59.out test60.out \
Bram Moolenaardd310302009-03-11 15:37:53 +000030 test61.out test62.out test63.out test64.out test65.out \
Bram Moolenaar644fdff2010-05-30 13:26:21 +020031 test66.out test67.out test68.out test69.out test70.out \
Bram Moolenaar37dd0182010-11-10 16:54:20 +010032 test71.out test72.out test73.out test74.out test75.out \
Bram Moolenaar8b3e0332011-06-26 05:36:34 +020033 test76.out test77.out test78.out test79.out test80.out \
Bram Moolenaarf4e5e862013-02-13 15:44:26 +010034 test81.out test82.out test83.out test84.out test88.out \
35 test89.out
Bram Moolenaar071d4272004-06-13 20:20:40 +000036
37.SUFFIXES: .in .out
38
39all: /tmp $(SCRIPTS)
40 @echo ALL DONE
41
42$(SCRIPTS): $(VIMPROG)
43
44clean:
45 -rm -rf *.out Xdotest test.ok tiny.vim small.vim mbyte.vim viminfo
46
47# Make sure all .in and .out files are in DOS fileformat.
48.in.out:
49 $(VIMPROG) -u NONE -s todos.vim $*.in
50 $(VIMPROG) -u NONE -s todos.vim $*.ok
51 copy $*.ok test.ok
52 $(VIMPROG) -u os2.vim --noplugin -s dotest.in $*.in
53 $(VIMPROG) -u NONE -s todos.vim test.out
54 diff test.out $*.ok
55 rename test.out $*.out
56 -rm -rf X* viminfo
57 -del test.ok
58
59# Create a directory for temp files
60/tmp:
61 -mkdir /tmp