Mercurial > vim
annotate src/testdir/Make_vms.mms @ 13927:ec54a202ad0c v8.0.1834
patch 8.0.1834: GUI: find/replace dialog does not handle some chars
commit https://github.com/vim/vim/commit/518bc174ed34dc79303488914aaaa3c238a85080
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 13 17:05:30 2018 +0200
patch 8.0.1834: GUI: find/replace dialog does not handle some chars
Problem: GUI: find/replace dialog does not handle some chars properly.
Solution: Escape '?' when needed. Always escape backslash. (closes https://github.com/vim/vim/issues/2418,
closes #2435)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 13 May 2018 17:15:05 +0200 |
parents | d9a94be389b5 |
children | 2e95ea9afa1e |
rev | line source |
---|---|
7 | 1 # |
2 # Makefile to run all tests for Vim on VMS | |
3 # | |
4 # Authors: Zoltan Arpadffy, <arpadffy@polarhome.com> | |
5 # Sandor Kopanyi, <sandor.kopanyi@mailbox.hu> | |
6 # | |
10328
299f1669c20e
commit https://github.com/vim/vim/commit/de5e2c219b99895445fb75ae3541ee69282a5846
Christian Brabandt <cb@256bit.org>
parents:
9756
diff
changeset
|
7 # Last change: 2016 Nov 04 |
7 | 8 # |
1709 | 9 # This has been tested on VMS 6.2 to 8.3 on DEC Alpha, VAX and IA64. |
7 | 10 # Edit the lines in the Configuration section below to select. |
11 # | |
12 # Execute with: | |
13 # mms/descrip=Make_vms.mms | |
14 # Cleanup with: | |
15 # mms/descrip=Make_vms.mms clean | |
16 # | |
17 # Make files are MMK compatible. | |
18 # | |
19 # NOTE: You can run this script just in X/Window environment. It will | |
20 # create a new terminals, therefore you have to set up your DISPLAY | |
21 # logical. More info in VMS documentation or with: help set disp. | |
22 # | |
23 ####################################################################### | |
24 # Configuration section. | |
25 ####################################################################### | |
26 | |
27 # Uncomment if you want tests in GUI mode. Terminal mode is default. | |
28 # WANT_GUI = YES | |
29 | |
30 # Comment out if you want to run Unix specific tests as well, but please | |
31 # be aware, that on OpenVMS will fail, because of cat, rm, etc commands | |
32 # and directory handling. | |
33 # WANT_UNIX = YES | |
34 | |
1709 | 35 # Comment out if you want to run Win32 specific tests as well, but please |
36 # be aware, that on OpenVMS will fail, because of cat, rm, etc commands | |
37 # and directory handling. | |
38 # WANT_WIN = YES | |
39 | |
40 # Comment out if you want to run spell checker tests. | |
41 # They fail because VMS does not support file names. | |
42 # WANT_SPELL = YES | |
43 | |
5704 | 44 # Comment out if you want to run mzschema tests. |
2441
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
45 # It fails because VMS does not support this feature yet. |
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
46 # WANT_MZSCH = YES |
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
47 |
6398 | 48 # Comment out if you have ODS-5 file system |
5704 | 49 # HAVE_ODS5 = YES |
50 | |
7 | 51 # Comment out if you have gzip on your system |
52 # HAVE_GZIP = YES | |
53 | |
54 # Comment out if you have GNU compatible diff on your system | |
55 # HAVE_GDIFF = YES | |
56 | |
6398 | 57 # Comment out if you have ICONV support |
5704 | 58 # HAVE_ICONV = YES |
59 | |
60 # Comment out if you have LUA support | |
61 # HAVE_LUA = YES | |
62 | |
63 # Comment out if you have PYTHON support | |
64 # HAVE_PYTHON = YES | |
65 | |
7 | 66 ####################################################################### |
67 # End of configuration section. | |
68 # | |
69 # Please, do not change anything below without programming experience. | |
70 ####################################################################### | |
71 | |
72 VIMPROG = <->vim.exe | |
73 | |
74 .SUFFIXES : .out .in | |
75 | |
12616
4767939d10cc
patch 8.0.1186: still quite a few old style tests
Christian Brabandt <cb@256bit.org>
parents:
12560
diff
changeset
|
76 SCRIPT = test1.out test3.out \ |
13146
d9a94be389b5
patch 8.0.1447: still too many old style tests
Christian Brabandt <cb@256bit.org>
parents:
13022
diff
changeset
|
77 test14.out \ |
12750
0b6c09957b43
patch 8.0.1253: still too many old style tests
Christian Brabandt <cb@256bit.org>
parents:
12686
diff
changeset
|
78 test29.out \ |
13146
d9a94be389b5
patch 8.0.1447: still too many old style tests
Christian Brabandt <cb@256bit.org>
parents:
13022
diff
changeset
|
79 test30.out test37.out test39.out \ |
12750
0b6c09957b43
patch 8.0.1253: still too many old style tests
Christian Brabandt <cb@256bit.org>
parents:
12686
diff
changeset
|
80 test42.out test44.out test48.out test49.out \ |
12851
90aaa974594e
patch 8.0.1302: still too many old style tests
Christian Brabandt <cb@256bit.org>
parents:
12788
diff
changeset
|
81 test64.out test69.out \ |
12686
aa658b33f25a
patch 8.0.1221: still too many old style tests
Christian Brabandt <cb@256bit.org>
parents:
12662
diff
changeset
|
82 test72.out test77a.out test88.out \ |
12750
0b6c09957b43
patch 8.0.1253: still too many old style tests
Christian Brabandt <cb@256bit.org>
parents:
12686
diff
changeset
|
83 test94.out test95.out test99.out test108.out \ |
13022
71109531c516
patch 8.0.1387: wordcount test is old style
Christian Brabandt <cb@256bit.org>
parents:
12851
diff
changeset
|
84 test_eval.out |
2441
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
85 |
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
86 # Known problems: |
5704 | 87 # test17: ? |
2441
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
88 # |
5704 | 89 # test30: bug, most probably - a problem around mac format |
90 # | |
11551
7798e9bcdb13
patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents:
11461
diff
changeset
|
91 # test59: Failed/Hangs - VMS does not support spell files (file names |
2441
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
92 # with too many dots). |
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
93 # |
5704 | 94 # test72: bug - Vim hangs at :rename (while rename works well otherwise) |
95 # test78: bug - Vim dies at :recover Xtest | |
96 # test85: no Lua interface | |
97 # test89: bug - findfile() does not work on VMS (just in the current directory) | |
11651
140d51d5b5c3
patch 8.0.0708: some tests are old style
Christian Brabandt <cb@256bit.org>
parents:
11603
diff
changeset
|
98 # test102: Just ODS-5 supports space and special chars in the filename. |
5704 | 99 # On ODS-2 tests fail. |
7 | 100 |
101 .IFDEF WANT_GUI | |
10328
299f1669c20e
commit https://github.com/vim/vim/commit/de5e2c219b99895445fb75ae3541ee69282a5846
Christian Brabandt <cb@256bit.org>
parents:
9756
diff
changeset
|
102 SCRIPT_GUI = test16.out |
7 | 103 GUI_OPTION = -g |
104 .ENDIF | |
105 | |
106 .IFDEF WANT_UNIX | |
12851
90aaa974594e
patch 8.0.1302: still too many old style tests
Christian Brabandt <cb@256bit.org>
parents:
12788
diff
changeset
|
107 SCRIPT_UNIX = test10.out test17.out test27.out test49.out |
1709 | 108 .ENDIF |
109 | |
110 .IFDEF WANT_WIN | |
13146
d9a94be389b5
patch 8.0.1447: still too many old style tests
Christian Brabandt <cb@256bit.org>
parents:
13022
diff
changeset
|
111 SCRIPT_WIN = test52.out |
1709 | 112 .ENDIF |
113 | |
114 .IFDEF WANT_SPELL | |
11551
7798e9bcdb13
patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents:
11461
diff
changeset
|
115 SCRIPT_SPELL = test59.out |
7 | 116 .ENDIF |
117 | |
2441
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
118 .IFDEF WANT_MZSCH |
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
119 SCRIPT_MZSCH = test70.out |
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
120 .ENDIF |
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
121 |
5704 | 122 .IFDEF HAVE_ODS5 |
11651
140d51d5b5c3
patch 8.0.0708: some tests are old style
Christian Brabandt <cb@256bit.org>
parents:
11603
diff
changeset
|
123 SCRIPT_ODS5 = test102.out |
5704 | 124 .ENDIF |
125 | |
7 | 126 .IFDEF HAVE_GZIP |
127 SCRIPT_GZIP = test11.out | |
128 .ENDIF | |
129 | |
130 .IFDEF HAVE_GDIFF | |
131 SCRIPT_GDIFF = test47.out | |
132 .ENDIF | |
133 | |
5704 | 134 .IFDEF HAVE_LUA |
135 SCRIPT_LUA = test85.out | |
136 .ENDIF | |
137 | |
138 .IFDEF HAVE_PYTHON | |
139 SCRIPT_PYTHON = test86.out test87.out | |
140 .ENDIF | |
141 | |
7 | 142 .in.out : |
2441
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
143 -@ !clean up before doing the test |
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
144 -@ if "''F$SEARCH("test.out.*")'" .NES. "" then delete/noconfirm/nolog test.out.* |
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
145 -@ if "''F$SEARCH("$*.out.*")'" .NES. "" then delete/noconfirm/nolog $*.out.* |
5704 | 146 -@ ! define TMP if not set - some tests use it |
147 -@ if "''F$TRNLNM("TMP")'" .EQS. "" then define/nolog TMP [] | |
7 | 148 -@ write sys$output " " |
149 -@ write sys$output "-----------------------------------------------" | |
150 -@ write sys$output " "$*" " | |
151 -@ write sys$output "-----------------------------------------------" | |
2441
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
152 -@ !run the test |
10328
299f1669c20e
commit https://github.com/vim/vim/commit/de5e2c219b99895445fb75ae3541ee69282a5846
Christian Brabandt <cb@256bit.org>
parents:
9756
diff
changeset
|
153 -@ create/term/wait/nodetach mcr $(VIMPROG) $(GUI_OPTION) -u vms.vim --noplugin -s dotest.in $*.in |
2441
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
154 -@ !analyse the result |
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
155 -@ directory /size/date test.out |
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
156 -@ if "''F$SEARCH("test.out.*")'" .NES. "" then rename/nolog test.out $*.out |
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
157 -@ if "''F$SEARCH("$*.out.*")'" .NES. "" then differences /par $*.out $*.ok; |
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
158 -@ !clean up after the test |
7 | 159 -@ if "''F$SEARCH("Xdotest.*")'" .NES. "" then delete/noconfirm/nolog Xdotest.*.* |
5704 | 160 -@ if "''F$SEARCH("Xtest.*")'" .NES. "" then delete/noconfirm/nolog Xtest.*.* |
7 | 161 |
10328
299f1669c20e
commit https://github.com/vim/vim/commit/de5e2c219b99895445fb75ae3541ee69282a5846
Christian Brabandt <cb@256bit.org>
parents:
9756
diff
changeset
|
162 all : clean nolog $(START_WITH) $(SCRIPT) $(SCRIPT_GUI) $(SCRIPT_UNIX) $(SCRIPT_WIN) $(SCRIPT_SPELL) $(SCRIPT_ODS5) $(SCRIPT_GZIP) \ |
12750
0b6c09957b43
patch 8.0.1253: still too many old style tests
Christian Brabandt <cb@256bit.org>
parents:
12686
diff
changeset
|
163 $(SCRIPT_GDIFF) $(SCRIPT_MZSCH) $(SCRIPT_LUA) $(SCRIPT_PYTHON) nolog |
7 | 164 -@ write sys$output " " |
165 -@ write sys$output "-----------------------------------------------" | |
166 -@ write sys$output " All done" | |
167 -@ write sys$output "-----------------------------------------------" | |
168 -@ deassign sys$output | |
169 -@ delete/noconfirm/nolog x*.*.* | |
170 -@ type test.log | |
171 | |
172 nolog : | |
173 -@ define sys$output test.log | |
174 -@ write sys$output "-----------------------------------------------" | |
175 -@ write sys$output " Standard VIM test cases" | |
176 -@ write sys$output "-----------------------------------------------" | |
177 -@ write sys$output " OpenVMS version: ''F$GETSYI("VERSION")'" | |
178 -@ write sys$output " Vim version:" | |
179 -@ mcr $(VIMPROG) --version | |
180 -@ write sys$output " Test date:" | |
181 -@ show time | |
182 -@ write sys$output "-----------------------------------------------" | |
183 -@ write sys$output " Test results:" | |
184 -@ write sys$output "-----------------------------------------------" | |
185 -@ write sys$output "MAKE_VMS.MMS options:" | |
5704 | 186 -@ write sys$output " WANT_GUI = ""$(WANT_GUI)"" " |
187 -@ write sys$output " WANT_UNIX = ""$(WANT_UNIX)"" " | |
188 -@ write sys$output " WANT_WIN = ""$(WANT_WIN)"" " | |
189 -@ write sys$output " WANT_SPELL = ""$(WANT_SPELL)"" " | |
190 -@ write sys$output " WANT_MZSCH = ""$(WANT_MZSCH)"" " | |
191 -@ write sys$output " HAVE_ODS5 = ""$(HAVE_ODS5)"" " | |
192 -@ write sys$output " HAVE_GZIP = ""$(HAVE_GZIP)"" " | |
193 -@ write sys$output " HAVE_GDIFF = ""$(HAVE_GDIFF)"" " | |
194 -@ write sys$output " HAVE_ICONV = ""$(HAVE_ICONV)"" " | |
195 -@ write sys$output " HAVE_LUA = ""$(HAVE_LUA)"" " | |
196 -@ write sys$output " HAVE_PYTHON= ""$(HAVE_PYTHON)"" " | |
2441
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
197 -@ write sys$output "Default vimrc file is VMS.VIM:" |
7 | 198 -@ write sys$output "-----------------------------------------------" |
199 -@ type VMS.VIM | |
200 | |
201 clean : | |
2441
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
202 -@ if "''F$SEARCH("*.out")'" .NES. "" then delete/noconfirm/nolog *.out.* |
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
203 -@ if "''F$SEARCH("test.log")'" .NES. "" then delete/noconfirm/nolog test.log.* |
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
204 -@ if "''F$SEARCH("test.ok")'" .NES. "" then delete/noconfirm/nolog test.ok.* |
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
205 -@ if "''F$SEARCH("Xdotest.*")'" .NES. "" then delete/noconfirm/nolog Xdotest.*.* |
5704 | 206 -@ if "''F$SEARCH("Xtest*.*")'" .NES. "" then delete/noconfirm/nolog Xtest*.*.* |
207 -@ if "''F$SEARCH("XX*.*")'" .NES. "" then delete/noconfirm/nolog XX*.*.* | |
208 -@ if "''F$SEARCH("_un_*.*")'" .NES. "" then delete/noconfirm/nolog _un_*.*.* | |
2441
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
209 -@ if "''F$SEARCH("*.*_sw*")'" .NES. "" then delete/noconfirm/nolog *.*_sw*.* |
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
210 -@ if "''F$SEARCH("*.failed")'" .NES. "" then delete/noconfirm/nolog *.failed.* |
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
211 -@ if "''F$SEARCH("*.rej")'" .NES. "" then delete/noconfirm/nolog *.rej.* |
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
212 -@ if "''F$SEARCH("tiny.vim")'" .NES. "" then delete/noconfirm/nolog tiny.vim.* |
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
213 -@ if "''F$SEARCH("small.vim")'" .NES. "" then delete/noconfirm/nolog small.vim.* |
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
214 -@ if "''F$SEARCH("mbyte.vim")'" .NES. "" then delete/noconfirm/nolog mbyte.vim.* |
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
215 -@ if "''F$SEARCH("mzscheme.vim")'" .NES. "" then delete/noconfirm/nolog mzscheme.vim.* |
5704 | 216 -@ if "''F$SEARCH("lua.vim")'" .NES. "" then delete/noconfirm/nolog lua.vim.* |
2441
620a42739426
Improvements for VMS. (Zoltan Arpadffy)
Bram Moolenaar <bram@vim.org>
parents:
2436
diff
changeset
|
217 -@ if "''F$SEARCH("viminfo.*")'" .NES. "" then delete/noconfirm/nolog viminfo.*.* |
1709 | 218 |