Mercurial > vim
comparison src/testdir/Make_vms.mms @ 1709:71eaeb69efe4 v7.2.007
updated for version 7.2-007
author | vimboss |
---|---|
date | Mon, 01 Sep 2008 14:51:37 +0000 |
parents | 18ee39301b82 |
children | ccc9eda1cfcf |
comparison
equal
deleted
inserted
replaced
1708:33d28f1c4d1d | 1709:71eaeb69efe4 |
---|---|
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: 2008 Jun 19 | 7 # Last change: 2008 Aug 19 |
8 # | 8 # |
9 # This has been tested on VMS 6.2 to 7.2 on DEC Alpha and VAX. | 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: |
13 # mms/descrip=Make_vms.mms | 13 # mms/descrip=Make_vms.mms |
14 # Cleanup with: | 14 # Cleanup with: |
30 # Comment out if you want to run Unix specific tests as well, but please | 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 | 31 # be aware, that on OpenVMS will fail, because of cat, rm, etc commands |
32 # and directory handling. | 32 # and directory handling. |
33 # WANT_UNIX = YES | 33 # WANT_UNIX = YES |
34 | 34 |
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 | |
35 # Comment out if you have gzip on your system | 44 # Comment out if you have gzip on your system |
36 # HAVE_GZIP = YES | 45 # HAVE_GZIP = YES |
37 | 46 |
38 # Comment out if you have GNU compatible diff on your system | 47 # Comment out if you have GNU compatible diff on your system |
39 # HAVE_GDIFF = YES | 48 # HAVE_GDIFF = YES |
51 SCRIPT = test1.out test2.out test3.out test4.out test5.out \ | 60 SCRIPT = test1.out test2.out test3.out test4.out test5.out \ |
52 test6.out test7.out test8.out test9.out test10a.out\ | 61 test6.out test7.out test8.out test9.out test10a.out\ |
53 test13.out test14.out test15.out test17.out \ | 62 test13.out test14.out test15.out test17.out \ |
54 test18.out test19.out test20.out test21.out test22.out \ | 63 test18.out test19.out test20.out test21.out test22.out \ |
55 test23.out test24.out test26.out \ | 64 test23.out test24.out test26.out \ |
56 test28.out test29.out test31.out test32.out \ | 65 test28.out test29.out test30.out test31.out test32.out \ |
57 test33.out test34.out test35.out test36.out test37.out \ | 66 test33.out test34.out test35.out test36.out test37.out \ |
58 test38.out test39.out test40.out test41.out test42.out \ | 67 test38.out test39.out test40.out test41.out test42.out \ |
59 test43.out test44.out test45.out test46.out \ | 68 test43.out test44.out test45.out test46.out \ |
60 test48.out test51.out test53.out test54.out test55.out \ | 69 test48.out test51.out test53.out test54.out test55.out \ |
61 test56.out test57.out test58.out test59.out test60.out \ | 70 test56.out test57.out test60.out \ |
62 test61.out test62.out test63.out test64.out test65.out | 71 test61.out test62.out test63.out test64.out test65.out |
63 | 72 |
64 .IFDEF WANT_GUI | 73 .IFDEF WANT_GUI |
65 SCRIPT_GUI = test16.out | 74 SCRIPT_GUI = test16.out |
66 GUI_OPTION = -g | 75 GUI_OPTION = -g |
67 .ENDIF | 76 .ENDIF |
68 | 77 |
69 .IFDEF WANT_UNIX | 78 .IFDEF WANT_UNIX |
70 SCRIPT_UNIX = test10.out test12.out test25.out test27.out test30.out test49.out | 79 SCRIPT_UNIX = test10.out test12.out test25.out test27.out test49.out |
80 .ENDIF | |
81 | |
82 .IFDEF WANT_WIN | |
83 SCRIPT_WIN = test50.out test52.out | |
84 .ENDIF | |
85 | |
86 .IFDEF WANT_SPELL | |
87 SCRIPT_SPELL = test58.out test59.out | |
71 .ENDIF | 88 .ENDIF |
72 | 89 |
73 .IFDEF HAVE_GZIP | 90 .IFDEF HAVE_GZIP |
74 SCRIPT_GZIP = test11.out | 91 SCRIPT_GZIP = test11.out |
75 .ENDIF | 92 .ENDIF |
82 -@ write sys$output " " | 99 -@ write sys$output " " |
83 -@ write sys$output "-----------------------------------------------" | 100 -@ write sys$output "-----------------------------------------------" |
84 -@ write sys$output " "$*" " | 101 -@ write sys$output " "$*" " |
85 -@ write sys$output "-----------------------------------------------" | 102 -@ write sys$output "-----------------------------------------------" |
86 -@ create/term/wait mcr $(VIMPROG) $(GUI_OPTION) -u vms.vim --noplugin -s dotest.in $*.in | 103 -@ create/term/wait mcr $(VIMPROG) $(GUI_OPTION) -u vms.vim --noplugin -s dotest.in $*.in |
87 -@ if "''F$SEARCH("test.out.*")'" .NES. "" then differences test.out $*.ok; | 104 -@ if "''F$SEARCH("test.out.*")'" .NES. "" then differences /par test.out $*.ok; |
88 -@ if "''F$SEARCH("test.out.*")'" .NES. "" then rename test.out $*.out | 105 -@ if "''F$SEARCH("test.out.*")'" .NES. "" then rename test.out $*.out |
89 -@ if "''F$SEARCH("Xdotest.*")'" .NES. "" then delete/noconfirm/nolog Xdotest.*.* | 106 -@ if "''F$SEARCH("Xdotest.*")'" .NES. "" then delete/noconfirm/nolog Xdotest.*.* |
90 | 107 |
91 all : clean nolog $(SCRIPT) $(SCRIPT_GUI) $(SCRIPT_UNIX) $(SCRIPT_GZIP) $(SCRIPT_GDIFF) | 108 all : clean nolog $(SCRIPT) $(SCRIPT_GUI) $(SCRIPT_UNIX) $(SCRIPT_WIN) $(SCRIPT_SPELL) $(SCRIPT_GZIP) $(SCRIPT_GDIFF) |
92 -@ write sys$output " " | 109 -@ write sys$output " " |
93 -@ write sys$output "-----------------------------------------------" | 110 -@ write sys$output "-----------------------------------------------" |
94 -@ write sys$output " All done" | 111 -@ write sys$output " All done" |
95 -@ write sys$output "-----------------------------------------------" | 112 -@ write sys$output "-----------------------------------------------" |
96 -@ deassign sys$output | 113 -@ deassign sys$output |
111 -@ write sys$output " Test results:" | 128 -@ write sys$output " Test results:" |
112 -@ write sys$output "-----------------------------------------------" | 129 -@ write sys$output "-----------------------------------------------" |
113 -@ write sys$output "MAKE_VMS.MMS options:" | 130 -@ write sys$output "MAKE_VMS.MMS options:" |
114 -@ write sys$output " WANT_GUI = ""$(WANT_GUI)"" " | 131 -@ write sys$output " WANT_GUI = ""$(WANT_GUI)"" " |
115 -@ write sys$output " WANT_UNIX = ""$(WANT_UNIX)"" " | 132 -@ write sys$output " WANT_UNIX = ""$(WANT_UNIX)"" " |
133 -@ write sys$output " WANT_WIN = ""$(WANT_WIN)"" " | |
134 -@ write sys$output " WANT_SPELL= ""$(WANT_SPELL)"" " | |
116 -@ write sys$output " HAVE_GZIP = ""$(HAVE_GZIP)"" " | 135 -@ write sys$output " HAVE_GZIP = ""$(HAVE_GZIP)"" " |
117 -@ write sys$output " HAVE_GDIFF= ""$(HAVE_GDIFF)"" " | 136 -@ write sys$output " HAVE_GDIFF= ""$(HAVE_GDIFF)"" " |
118 -@ write sys$output "Default vimrc file is VMS.VIM: | 137 -@ write sys$output "Default vimrc file is VMS.VIM: |
119 -@ write sys$output "-----------------------------------------------" | 138 -@ write sys$output "-----------------------------------------------" |
120 -@ type VMS.VIM | 139 -@ type VMS.VIM |
121 | 140 |
122 clean : | 141 clean : |
123 -@ if "''F$SEARCH("*.out")'" .NES. "" then delete/noconfirm/nolog *.out.* | 142 -@ if "''F$SEARCH("*.out")'" .NES. "" then delete/noconfirm/nolog *.out.* |
124 -@ if "''F$SEARCH("test.log")'" .NES. "" then delete/noconfirm/nolog test.log.* | 143 -@ if "''F$SEARCH("test.log")'" .NES. "" then delete/noconfirm/nolog test.log.* |
144 -@ if "''F$SEARCH("test.ok")'" .NES. "" then delete/noconfirm/nolog test.ok.* | |
125 -@ if "''F$SEARCH("Xdotest.*")'" .NES. "" then delete/noconfirm/nolog Xdotest.*.* | 145 -@ if "''F$SEARCH("Xdotest.*")'" .NES. "" then delete/noconfirm/nolog Xdotest.*.* |
126 -@ if "''F$SEARCH("*.*_sw*")'" .NES. "" then delete/noconfirm/nolog *.*_sw*.* | 146 -@ if "''F$SEARCH("*.*_sw*")'" .NES. "" then delete/noconfirm/nolog *.*_sw*.* |
147 -@ if "''F$SEARCH("*.failed")'" .NES. "" then delete/noconfirm/nolog *.failed.* | |
148 -@ if "''F$SEARCH("*.rej")'" .NES. "" then delete/noconfirm/nolog *.rej.* | |
149 -@ if "''F$SEARCH("tiny.vim")'" .NES. "" then delete/noconfirm/nolog tiny.vim.* | |
150 -@ if "''F$SEARCH("small.vim")'" .NES. "" then delete/noconfirm/nolog small.vim.* | |
151 -@ if "''F$SEARCH("mbyte.vim")'" .NES. "" then delete/noconfirm/nolog mbyte.vim.* | |
152 -@ if "''F$SEARCH("viminfo.*")'" .NES. "" then delete/noconfirm/nolog viminfo.*.* | |
153 |