annotate src/testdir/Make_dos.mak @ 5336:c514693882b9 v7.4.021

updated for version 7.4.021 Problem: NFA regexp: Using \ze in one branch which doesn't match may cause end of another branch to be wrong. (William Fugh) Solution: Set end position if it wasn't set yet.
author Bram Moolenaar <bram@vim.org>
date Thu, 05 Sep 2013 21:15:44 +0200
parents 7a6ce0c426fe
children 923738744a60
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 #
2440
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.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 # Requires a set of Unix tools: echo, diff, etc.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 VIMPROG = ..\\vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 # Omitted:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 # test2 "\\tmp" doesn't work.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 # test10 'errorformat' is different
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 # test12 can't unlink a swap file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 # test25 uses symbolic link
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 # 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
14 # test97 \{ and \$ are not escaped characters.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 SCRIPTS16 = test1.out test19.out test20.out test22.out \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 test23.out test24.out test28.out test29.out \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 test35.out test36.out test43.out \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 test44.out test45.out test46.out test47.out \
270
a20218704019 updated for version 7.0072
vimboss
parents: 119
diff changeset
20 test48.out test51.out test53.out test54.out \
618
cd967cc647dd updated for version 7.0176
vimboss
parents: 615
diff changeset
21 test55.out test56.out test57.out test58.out test59.out \
1358
9656552c468d updated for version 7.1-072
vimboss
parents: 1327
diff changeset
22 test60.out test61.out test62.out test63.out test64.out
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 SCRIPTS = test3.out test4.out test5.out test6.out test7.out \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 test8.out test9.out test11.out test13.out test14.out \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 test15.out test17.out test18.out test21.out test26.out \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 test30.out test31.out test32.out test33.out test34.out \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 test37.out test38.out test39.out test40.out test41.out \
2005
20c18291deb2 updated for version 7.2-302
vimboss
parents: 1963
diff changeset
29 test42.out test52.out test65.out test66.out test67.out \
2607
2f57d93bdbf6 updated for version 7.3.030
Bram Moolenaar <bram@vim.org>
parents: 2558
diff changeset
30 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
31 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
32 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
33 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
34 test89.out test90.out test91.out test92.out test93.out \
5157
7a6ce0c426fe updated for version 7.4a.005
Bram Moolenaar <bram@vim.org>
parents: 5116
diff changeset
35 test94.out test95.out test96.out test98.out
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36
2050
afcf9db31561 updated for version 7.2.336
Bram Moolenaar <bram@zimbu.org>
parents: 2005
diff changeset
37 SCRIPTS32 = test50.out test70.out
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 SCRIPTS_GUI = test16.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 .SUFFIXES: .in .out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42
4934
81e623ff2e55 updated for version 7.3.1212
Bram Moolenaar <bram@vim.org>
parents: 4817
diff changeset
43 nongui: fixff $(SCRIPTS16) $(SCRIPTS) report
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44
4934
81e623ff2e55 updated for version 7.3.1212
Bram Moolenaar <bram@vim.org>
parents: 4817
diff changeset
45 small: report
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46
4934
81e623ff2e55 updated for version 7.3.1212
Bram Moolenaar <bram@vim.org>
parents: 4817
diff changeset
47 gui: fixff $(SCRIPTS16) $(SCRIPTS) $(SCRIPTS_GUI) report
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48
4934
81e623ff2e55 updated for version 7.3.1212
Bram Moolenaar <bram@vim.org>
parents: 4817
diff changeset
49 win32: fixff $(SCRIPTS16) $(SCRIPTS) $(SCRIPTS32) report
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50
49
10286edc333c updated for version 7.0028
vimboss
parents: 40
diff changeset
51 fixff:
10286edc333c updated for version 7.0028
vimboss
parents: 40
diff changeset
52 -$(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
53 -$(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
54 dotest.in test60.ok test71.ok test74.ok
49
10286edc333c updated for version 7.0028
vimboss
parents: 40
diff changeset
55
4934
81e623ff2e55 updated for version 7.3.1212
Bram Moolenaar <bram@vim.org>
parents: 4817
diff changeset
56 report:
81e623ff2e55 updated for version 7.3.1212
Bram Moolenaar <bram@vim.org>
parents: 4817
diff changeset
57 @echo ""
81e623ff2e55 updated for version 7.3.1212
Bram Moolenaar <bram@vim.org>
parents: 4817
diff changeset
58 @echo Test results:
81e623ff2e55 updated for version 7.3.1212
Bram Moolenaar <bram@vim.org>
parents: 4817
diff changeset
59 @IF EXIST test.log ( type test.log & echo TEST FAILURE & exit /b 1 ) \
81e623ff2e55 updated for version 7.3.1212
Bram Moolenaar <bram@vim.org>
parents: 4817
diff changeset
60 ELSE ( ECHO ALL DONE )
81e623ff2e55 updated for version 7.3.1212
Bram Moolenaar <bram@vim.org>
parents: 4817
diff changeset
61
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 clean:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 -del *.out
4946
d10ede931224 updated for version 7.3.1218
Bram Moolenaar <bram@vim.org>
parents: 4934
diff changeset
64 -del *.failed
1358
9656552c468d updated for version 7.1-072
vimboss
parents: 1327
diff changeset
65 -if exist test.ok del test.ok
9656552c468d updated for version 7.1-072
vimboss
parents: 1327
diff changeset
66 -if exist small.vim del small.vim
9656552c468d updated for version 7.1-072
vimboss
parents: 1327
diff changeset
67 -if exist tiny.vim del tiny.vim
9656552c468d updated for version 7.1-072
vimboss
parents: 1327
diff changeset
68 -if exist mbyte.vim del mbyte.vim
2101
8ae4de2d02af updated for version 7.2.384
Bram Moolenaar <bram@zimbu.org>
parents: 2050
diff changeset
69 -if exist mzscheme.vim del mzscheme.vim
3855
1cc37b8cfaa1 updated for version 7.3.684
Bram Moolenaar <bram@vim.org>
parents: 3618
diff changeset
70 -if exist lua.vim del lua.vim
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 -del X*
4946
d10ede931224 updated for version 7.3.1218
Bram Moolenaar <bram@vim.org>
parents: 4934
diff changeset
72 -if exist Xdir1 rd /s /q Xdir1
d10ede931224 updated for version 7.3.1218
Bram Moolenaar <bram@vim.org>
parents: 4934
diff changeset
73 -if exist Xfind rd /s /q Xfind
1358
9656552c468d updated for version 7.1-072
vimboss
parents: 1327
diff changeset
74 -if exist viminfo del viminfo
4934
81e623ff2e55 updated for version 7.3.1212
Bram Moolenaar <bram@vim.org>
parents: 4817
diff changeset
75 -del test.log
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 .in.out:
4946
d10ede931224 updated for version 7.3.1218
Bram Moolenaar <bram@vim.org>
parents: 4934
diff changeset
78 -if exist $*.failed del $*.failed
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 copy $*.ok test.ok
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 $(VIMPROG) -u dos.vim -U NONE --noplugin -s dotest.in $*.in
4946
d10ede931224 updated for version 7.3.1218
Bram Moolenaar <bram@vim.org>
parents: 4934
diff changeset
81 @diff test.out $*.ok & if errorlevel 1 \
d10ede931224 updated for version 7.3.1218
Bram Moolenaar <bram@vim.org>
parents: 4934
diff changeset
82 ( move /y test.out $*.failed & echo $* FAILED >> test.log ) \
d10ede931224 updated for version 7.3.1218
Bram Moolenaar <bram@vim.org>
parents: 4934
diff changeset
83 else ( move /y test.out $*.out )
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 -del X*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 -del test.ok
4946
d10ede931224 updated for version 7.3.1218
Bram Moolenaar <bram@vim.org>
parents: 4934
diff changeset
86 -if exist Xdir1 rd /s /q Xdir1
d10ede931224 updated for version 7.3.1218
Bram Moolenaar <bram@vim.org>
parents: 4934
diff changeset
87 -if exist Xfind rd /s /q Xfind
1358
9656552c468d updated for version 7.1-072
vimboss
parents: 1327
diff changeset
88 -if exist viminfo del viminfo
4934
81e623ff2e55 updated for version 7.3.1212
Bram Moolenaar <bram@vim.org>
parents: 4817
diff changeset
89
81e623ff2e55 updated for version 7.3.1212
Bram Moolenaar <bram@vim.org>
parents: 4817
diff changeset
90 nolog:
81e623ff2e55 updated for version 7.3.1212
Bram Moolenaar <bram@vim.org>
parents: 4817
diff changeset
91 -del test.log