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