annotate src/testdir/Make_ming.mak @ 6424:de877dab1c31 v7.4.542

updated for version 7.4.542 Problem: Using a range for window and buffer commands has a few problems. Cannot specify the type of range for a user command. Solution: Add the -addr argument for user commands. Fix problems. (Marcin Szamotulski)
author Bram Moolenaar <bram@vim.org>
date Mon, 08 Dec 2014 04:16:44 +0100
parents 5a76e36f07b1
children 1fd9f1d43660
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2440
fc695854c33a Correct comments in testdir makefiles. (John Beckett)
Bram Moolenaar <bram@vim.org>
parents: 2232
diff changeset
1 #
fc695854c33a Correct comments in testdir makefiles. (John Beckett)
Bram Moolenaar <bram@vim.org>
parents: 2232
diff changeset
2 # Makefile to run all tests for Vim, on Dos-like machines
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
3 # with sh.exe or zsh.exe in the path or not.
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
4 #
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
5 # Author: Bill McCarthy
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
6 #
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
7 # Note that test54 has been removed until it is fixed.
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
8 #
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
9 # Requires a set of Unix tools: echo, diff, etc.
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
10
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
11 ifneq (sh.exe, $(SHELL))
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
12 DEL = rm -f
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
13 MV = mv
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
14 CP = cp
6328
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents: 6307
diff changeset
15 CAT = cat
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
16 DIRSLASH = /
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
17 else
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
18 DEL = del
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
19 MV = rename
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
20 CP = copy
6328
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents: 6307
diff changeset
21 CAT = type
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
22 DIRSLASH = \\
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
23 endif
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
24
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
25 VIMPROG = ..$(DIRSLASH)vim
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
26
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
27 # Omitted:
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
28 # test2 "\\tmp" doesn't work.
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
29 # test10 'errorformat' is different
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
30 # test12 can't unlink a swap file
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
31 # test25 uses symbolic link
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
32 # test27 can't edit file with "*" in file name
5116
6cabac58f26f updated for version 7.3.1301
Bram Moolenaar <bram@vim.org>
parents: 5104
diff changeset
33 # test97 \{ and \$ are not escaped characters.
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
34
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
35 SCRIPTS16 = test1.out test19.out test20.out test22.out \
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
36 test23.out test24.out test28.out test29.out \
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
37 test35.out test36.out test43.out \
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
38 test44.out test45.out test46.out test47.out \
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
39 test48.out test51.out test53.out \
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
40 test55.out test56.out test57.out test58.out test59.out \
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
41 test60.out test61.out test62.out test63.out test64.out
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
42
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
43 # Had to remove test54 which doesn't work yet.
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
44 # test54.out
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
45
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
46 SCRIPTS = test3.out test4.out test5.out test6.out test7.out \
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
47 test8.out test9.out test11.out test13.out test14.out \
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
48 test15.out test17.out test18.out test21.out test26.out \
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
49 test30.out test31.out test32.out test33.out test34.out \
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
50 test37.out test38.out test39.out test40.out test41.out \
2005
20c18291deb2 updated for version 7.2-302
vimboss
parents: 1963
diff changeset
51 test42.out test52.out test65.out test66.out test67.out \
2607
2f57d93bdbf6 updated for version 7.3.030
Bram Moolenaar <bram@vim.org>
parents: 2487
diff changeset
52 test68.out test69.out test71.out test72.out test73.out \
2904
c249d9aa60f7 updated for version 7.3.225
Bram Moolenaar <bram@vim.org>
parents: 2885
diff changeset
53 test74.out test75.out test76.out test77.out test78.out \
3443
21219ffc9790 updated for version 7.3.487
Bram Moolenaar <bram@vim.org>
parents: 3131
diff changeset
54 test79.out test80.out test81.out test82.out test83.out \
4113
8904ccd5ee85 updated for version 7.3.810
Bram Moolenaar <bram@vim.org>
parents: 3986
diff changeset
55 test84.out test85.out test86.out test87.out test88.out \
4274
015e53d99787 updated for version 7.3.887
Bram Moolenaar <bram@vim.org>
parents: 4172
diff changeset
56 test89.out test90.out test91.out test92.out test93.out \
5450
829aa8c8449d updated for version 7.4.075
Bram Moolenaar <bram@vim.org>
parents: 5351
diff changeset
57 test94.out test95.out test96.out test98.out test99.out \
5690
40f18a1c1592 updated for version 7.4.191
Bram Moolenaar <bram@vim.org>
parents: 5641
diff changeset
58 test100.out test101.out test102.out test103.out test104.out \
5948
646616b6ff4d updated for version 7.4.315
Bram Moolenaar <bram@vim.org>
parents: 5848
diff changeset
59 test105.out test106.out test107.out \
6398
5a76e36f07b1 updated for version 7.4.530
Bram Moolenaar <bram@vim.org>
parents: 6328
diff changeset
60 test_argument_count.out \
5848
75f222d67cea updated for version 7.4.267
Bram Moolenaar <bram@vim.org>
parents: 5796
diff changeset
61 test_autoformat_join.out \
5995
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents: 5948
diff changeset
62 test_breakindent.out \
6096
09af7cb358f0 updated for version 7.4.386
Bram Moolenaar <bram@vim.org>
parents: 6079
diff changeset
63 test_changelist.out \
6398
5a76e36f07b1 updated for version 7.4.530
Bram Moolenaar <bram@vim.org>
parents: 6328
diff changeset
64 test_close_count.out \
6424
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents: 6398
diff changeset
65 test_command_count.out \
5796
f084024c0ddb updated for version 7.4.242
Bram Moolenaar <bram@vim.org>
parents: 5774
diff changeset
66 test_eval.out \
6098
975d96776111 updated for version 7.4.387
Bram Moolenaar <bram@vim.org>
parents: 6096
diff changeset
67 test_insertcount.out \
6140
cb3218a69c2f updated for version 7.4.408
Bram Moolenaar <bram@vim.org>
parents: 6098
diff changeset
68 test_listlbr.out \
cb3218a69c2f updated for version 7.4.408
Bram Moolenaar <bram@vim.org>
parents: 6098
diff changeset
69 test_listlbr_utf8.out \
6299
3eb160c5b3a1 updated for version 7.4.483
Bram Moolenaar <bram@vim.org>
parents: 6140
diff changeset
70 test_mapping.out \
6140
cb3218a69c2f updated for version 7.4.408
Bram Moolenaar <bram@vim.org>
parents: 6098
diff changeset
71 test_options.out \
cb3218a69c2f updated for version 7.4.408
Bram Moolenaar <bram@vim.org>
parents: 6098
diff changeset
72 test_qf_title.out \
6307
1f9577e9ef1b updated for version 7.4.487
Bram Moolenaar <bram@vim.org>
parents: 6299
diff changeset
73 test_signs.out \
6140
cb3218a69c2f updated for version 7.4.408
Bram Moolenaar <bram@vim.org>
parents: 6098
diff changeset
74 test_utf8.out
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
75
2050
afcf9db31561 updated for version 7.2.336
Bram Moolenaar <bram@zimbu.org>
parents: 2005
diff changeset
76 SCRIPTS32 = test50.out test70.out
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
77
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
78 SCRIPTS_GUI = test16.out
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
79
6328
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents: 6307
diff changeset
80 SCRIPTS_BENCH = bench_re_freeze.out
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents: 6307
diff changeset
81
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
82 .SUFFIXES: .in .out
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
83
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
84 vimall: fixff $(SCRIPTS16) $(SCRIPTS) $(SCRIPTS_GUI) $(SCRIPTS32)
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
85 echo ALL DONE
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
86
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
87 nongui: fixff $(SCRIPTS16) $(SCRIPTS)
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
88 echo ALL DONE
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
89
6328
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents: 6307
diff changeset
90 benchmark: $(SCRIPTS_BENCH)
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents: 6307
diff changeset
91
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
92 small:
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
93 echo ALL DONE
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
94
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
95 gui: fixff $(SCRIPTS16) $(SCRIPTS) $(SCRIPTS_GUI)
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
96 echo ALL DONE
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
97
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
98 win32: fixff $(SCRIPTS16) $(SCRIPTS) $(SCRIPTS32)
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
99 echo ALL DONE
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
100
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
101 fixff:
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
102 -$(VIMPROG) -u dos.vim --noplugin "+argdo set ff=dos|upd" +q *.in *.ok
3463
3daba355b0c1 updated for version 7.3.496
Bram Moolenaar <bram@vim.org>
parents: 3452
diff changeset
103 -$(VIMPROG) -u dos.vim --noplugin "+argdo set ff=unix|upd" +q \
3daba355b0c1 updated for version 7.3.496
Bram Moolenaar <bram@vim.org>
parents: 3452
diff changeset
104 dotest.in test60.ok test71.ok test74.ok
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
105
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
106 clean:
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
107 -$(DEL) *.out
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
108 -$(DEL) test.ok
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
109 -$(DEL) small.vim
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
110 -$(DEL) tiny.vim
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
111 -$(DEL) mbyte.vim
2050
afcf9db31561 updated for version 7.2.336
Bram Moolenaar <bram@zimbu.org>
parents: 2005
diff changeset
112 -$(DEL) mzscheme.vim
3855
1cc37b8cfaa1 updated for version 7.3.684
Bram Moolenaar <bram@vim.org>
parents: 3618
diff changeset
113 -$(DEL) lua.vim
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
114 -$(DEL) X*
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
115 -$(DEL) viminfo
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
116
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
117 .in.out:
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
118 $(CP) $*.ok test.ok
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
119 $(VIMPROG) -u dos.vim -U NONE --noplugin -s dotest.in $*.in
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
120 diff test.out $*.ok
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
121 -$(DEL) $*.out
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
122 $(MV) test.out $*.out
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
123 -$(DEL) X*
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
124 -$(DEL) test.ok
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
125 -$(DEL) viminfo
6328
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents: 6307
diff changeset
126
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents: 6307
diff changeset
127 bench_re_freeze.out: bench_re_freeze.vim
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents: 6307
diff changeset
128 -$(DEL) benchmark.out
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents: 6307
diff changeset
129 $(VIMPROG) -u dos.vim -U NONE --noplugin $*.in
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents: 6307
diff changeset
130 $(CAT) benchmark.out