Mercurial > vim
comparison src/testdir/Make_vms.mms @ 2441:620a42739426 vim73
Improvements for VMS. (Zoltan Arpadffy)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 30 Jul 2010 22:29:41 +0200 |
parents | e1c84b92c881 |
children | 7ec9ada2cd81 |
comparison
equal
deleted
inserted
replaced
2440:fc695854c33a | 2441:620a42739426 |
---|---|
2 # Makefile to run all tests for Vim on VMS | 2 # Makefile to run all tests for Vim on VMS |
3 # | 3 # |
4 # Authors: Zoltan Arpadffy, <arpadffy@polarhome.com> | 4 # Authors: Zoltan Arpadffy, <arpadffy@polarhome.com> |
5 # Sandor Kopanyi, <sandor.kopanyi@mailbox.hu> | 5 # Sandor Kopanyi, <sandor.kopanyi@mailbox.hu> |
6 # | 6 # |
7 # Last change: 2010 Jul 29 | 7 # Last change: 2010 Jul 30 |
8 # | 8 # |
9 # This has been tested on VMS 6.2 to 8.3 on DEC Alpha, VAX and IA64. | 9 # This has been tested on VMS 6.2 to 8.3 on DEC Alpha, VAX and IA64. |
10 # Edit the lines in the Configuration section below to select. | 10 # Edit the lines in the Configuration section below to select. |
11 # | 11 # |
12 # Execute with: | 12 # Execute with: |
39 | 39 |
40 # Comment out if you want to run spell checker tests. | 40 # Comment out if you want to run spell checker tests. |
41 # They fail because VMS does not support file names. | 41 # They fail because VMS does not support file names. |
42 # WANT_SPELL = YES | 42 # WANT_SPELL = YES |
43 | 43 |
44 # Comment out if you want to run mzschema tests. | |
45 # It fails because VMS does not support this feature yet. | |
46 # WANT_MZSCH = YES | |
47 | |
44 # Comment out if you have gzip on your system | 48 # Comment out if you have gzip on your system |
45 # HAVE_GZIP = YES | 49 # HAVE_GZIP = YES |
46 | 50 |
47 # Comment out if you have GNU compatible diff on your system | 51 # Comment out if you have GNU compatible diff on your system |
48 # HAVE_GDIFF = YES | 52 # HAVE_GDIFF = YES |
67 test38.out test39.out test40.out test41.out test42.out \ | 71 test38.out test39.out test40.out test41.out test42.out \ |
68 test43.out test44.out test45.out test46.out \ | 72 test43.out test44.out test45.out test46.out \ |
69 test48.out test51.out test53.out test54.out test55.out \ | 73 test48.out test51.out test53.out test54.out test55.out \ |
70 test56.out test57.out test60.out \ | 74 test56.out test57.out test60.out \ |
71 test61.out test62.out test63.out test64.out test65.out \ | 75 test61.out test62.out test63.out test64.out test65.out \ |
72 test66.out test67.out test68.out test69.out test70.out \ | 76 test66.out test67.out test68.out test69.out \ |
73 test71.out # test72.out | 77 test71.out test72.out |
78 | |
79 # Known problems: | |
80 # Test 30: a problem around mac format - unknown reason | |
81 # | |
82 # Test 32: VMS is not case sensitive and all filenames are lowercase within Vim | |
83 # (this should be changed in order to preserve the original filename) - should | |
84 # be fixed. VMS allows just one dot in the filename | |
85 # | |
86 # Test 58 and 59: Failed/Hangs - VMS does not support spell files (file names | |
87 # with too many dots). | |
88 # | |
89 # Test 72: unknown reason | |
74 | 90 |
75 .IFDEF WANT_GUI | 91 .IFDEF WANT_GUI |
76 SCRIPT_GUI = test16.out | 92 SCRIPT_GUI = test16.out |
77 GUI_OPTION = -g | 93 GUI_OPTION = -g |
78 .ENDIF | 94 .ENDIF |
87 | 103 |
88 .IFDEF WANT_SPELL | 104 .IFDEF WANT_SPELL |
89 SCRIPT_SPELL = test58.out test59.out | 105 SCRIPT_SPELL = test58.out test59.out |
90 .ENDIF | 106 .ENDIF |
91 | 107 |
108 .IFDEF WANT_MZSCH | |
109 SCRIPT_MZSCH = test70.out | |
110 .ENDIF | |
111 | |
92 .IFDEF HAVE_GZIP | 112 .IFDEF HAVE_GZIP |
93 SCRIPT_GZIP = test11.out | 113 SCRIPT_GZIP = test11.out |
94 .ENDIF | 114 .ENDIF |
95 | 115 |
96 .IFDEF HAVE_GDIFF | 116 .IFDEF HAVE_GDIFF |
97 SCRIPT_GDIFF = test47.out | 117 SCRIPT_GDIFF = test47.out |
98 .ENDIF | 118 .ENDIF |
99 | 119 |
100 .in.out : | 120 .in.out : |
121 -@ !clean up before doing the test | |
122 -@ if "''F$SEARCH("test.out.*")'" .NES. "" then delete/noconfirm/nolog test.out.* | |
123 -@ if "''F$SEARCH("$*.out.*")'" .NES. "" then delete/noconfirm/nolog $*.out.* | |
101 -@ write sys$output " " | 124 -@ write sys$output " " |
102 -@ write sys$output "-----------------------------------------------" | 125 -@ write sys$output "-----------------------------------------------" |
103 -@ write sys$output " "$*" " | 126 -@ write sys$output " "$*" " |
104 -@ write sys$output "-----------------------------------------------" | 127 -@ write sys$output "-----------------------------------------------" |
105 -@ create/term/wait mcr $(VIMPROG) $(GUI_OPTION) -u vms.vim --noplugin -s dotest.in $*.in | 128 -@ !run the test |
106 -@ if "''F$SEARCH("test.out.*")'" .NES. "" then differences /par test.out $*.ok; | 129 -@ create/term/wait/nodetach mcr $(VIMPROG) $(GUI_OPTION) -u vms.vim --noplugin -s dotest.in $*.in |
107 -@ if "''F$SEARCH("test.out.*")'" .NES. "" then rename test.out $*.out | 130 -@ !analyse the result |
131 -@ directory /size/date test.out | |
132 -@ if "''F$SEARCH("test.out.*")'" .NES. "" then rename/nolog test.out $*.out | |
133 -@ if "''F$SEARCH("$*.out.*")'" .NES. "" then differences /par $*.out $*.ok; | |
134 -@ !clean up after the test | |
108 -@ if "''F$SEARCH("Xdotest.*")'" .NES. "" then delete/noconfirm/nolog Xdotest.*.* | 135 -@ if "''F$SEARCH("Xdotest.*")'" .NES. "" then delete/noconfirm/nolog Xdotest.*.* |
109 | 136 |
110 all : clean nolog $(SCRIPT) $(SCRIPT_GUI) $(SCRIPT_UNIX) $(SCRIPT_WIN) $(SCRIPT_SPELL) $(SCRIPT_GZIP) $(SCRIPT_GDIFF) | 137 all : clean nolog $(START_WITH) $(SCRIPT) $(SCRIPT_GUI) $(SCRIPT_UNIX) $(SCRIPT_WIN) $(SCRIPT_SPELL) $(SCRIPT_GZIP) \ |
138 $(SCRIPT_GDIFF) $(SCRIPT_MZSCH) nolog | |
111 -@ write sys$output " " | 139 -@ write sys$output " " |
112 -@ write sys$output "-----------------------------------------------" | 140 -@ write sys$output "-----------------------------------------------" |
113 -@ write sys$output " All done" | 141 -@ write sys$output " All done" |
114 -@ write sys$output "-----------------------------------------------" | 142 -@ write sys$output "-----------------------------------------------" |
115 -@ deassign sys$output | 143 -@ deassign sys$output |
132 -@ write sys$output "MAKE_VMS.MMS options:" | 160 -@ write sys$output "MAKE_VMS.MMS options:" |
133 -@ write sys$output " WANT_GUI = ""$(WANT_GUI)"" " | 161 -@ write sys$output " WANT_GUI = ""$(WANT_GUI)"" " |
134 -@ write sys$output " WANT_UNIX = ""$(WANT_UNIX)"" " | 162 -@ write sys$output " WANT_UNIX = ""$(WANT_UNIX)"" " |
135 -@ write sys$output " WANT_WIN = ""$(WANT_WIN)"" " | 163 -@ write sys$output " WANT_WIN = ""$(WANT_WIN)"" " |
136 -@ write sys$output " WANT_SPELL= ""$(WANT_SPELL)"" " | 164 -@ write sys$output " WANT_SPELL= ""$(WANT_SPELL)"" " |
165 -@ write sys$output " WANT_MZSCH= ""$(WANT_MZSCH)"" " | |
137 -@ write sys$output " HAVE_GZIP = ""$(HAVE_GZIP)"" " | 166 -@ write sys$output " HAVE_GZIP = ""$(HAVE_GZIP)"" " |
138 -@ write sys$output " HAVE_GDIFF= ""$(HAVE_GDIFF)"" " | 167 -@ write sys$output " HAVE_GDIFF= ""$(HAVE_GDIFF)"" " |
139 -@ write sys$output "Default vimrc file is VMS.VIM: | 168 -@ write sys$output "Default vimrc file is VMS.VIM:" |
140 -@ write sys$output "-----------------------------------------------" | 169 -@ write sys$output "-----------------------------------------------" |
141 -@ type VMS.VIM | 170 -@ type VMS.VIM |
142 | 171 |
143 clean : | 172 clean : |
144 -@ if "''F$SEARCH("*.out")'" .NES. "" then delete/noconfirm/nolog *.out.* | 173 -@ if "''F$SEARCH("*.out")'" .NES. "" then delete/noconfirm/nolog *.out.* |
145 -@ if "''F$SEARCH("test.log")'" .NES. "" then delete/noconfirm/nolog test.log.* | 174 -@ if "''F$SEARCH("test.log")'" .NES. "" then delete/noconfirm/nolog test.log.* |
146 -@ if "''F$SEARCH("test.ok")'" .NES. "" then delete/noconfirm/nolog test.ok.* | 175 -@ if "''F$SEARCH("test.ok")'" .NES. "" then delete/noconfirm/nolog test.ok.* |
147 -@ if "''F$SEARCH("Xdotest.*")'" .NES. "" then delete/noconfirm/nolog Xdotest.*.* | 176 -@ if "''F$SEARCH("Xdotest.*")'" .NES. "" then delete/noconfirm/nolog Xdotest.*.* |
148 -@ if "''F$SEARCH("*.*_sw*")'" .NES. "" then delete/noconfirm/nolog *.*_sw*.* | 177 -@ if "''F$SEARCH("*.*_sw*")'" .NES. "" then delete/noconfirm/nolog *.*_sw*.* |
149 -@ if "''F$SEARCH("*.failed")'" .NES. "" then delete/noconfirm/nolog *.failed.* | 178 -@ if "''F$SEARCH("*.failed")'" .NES. "" then delete/noconfirm/nolog *.failed.* |
150 -@ if "''F$SEARCH("*.rej")'" .NES. "" then delete/noconfirm/nolog *.rej.* | 179 -@ if "''F$SEARCH("*.rej")'" .NES. "" then delete/noconfirm/nolog *.rej.* |
151 -@ if "''F$SEARCH("tiny.vim")'" .NES. "" then delete/noconfirm/nolog tiny.vim.* | 180 -@ if "''F$SEARCH("tiny.vim")'" .NES. "" then delete/noconfirm/nolog tiny.vim.* |
152 -@ if "''F$SEARCH("small.vim")'" .NES. "" then delete/noconfirm/nolog small.vim.* | 181 -@ if "''F$SEARCH("small.vim")'" .NES. "" then delete/noconfirm/nolog small.vim.* |
153 -@ if "''F$SEARCH("mbyte.vim")'" .NES. "" then delete/noconfirm/nolog mbyte.vim.* | 182 -@ if "''F$SEARCH("mbyte.vim")'" .NES. "" then delete/noconfirm/nolog mbyte.vim.* |
154 -@ if "''F$SEARCH("viminfo.*")'" .NES. "" then delete/noconfirm/nolog viminfo.*.* | 183 -@ if "''F$SEARCH("mzscheme.vim")'" .NES. "" then delete/noconfirm/nolog mzscheme.vim.* |
184 -@ if "''F$SEARCH("viminfo.*")'" .NES. "" then delete/noconfirm/nolog viminfo.*.* | |
155 | 185 |