Debian Codegraph @

terps/tads/tads3/win32/test/long.bat

raw
1 @echo off
2 @echo.
3
4 call win32\test\test_env
5
6 rem Delete old log, object, symbol, image files, and test directories
7 echo Cleaning up old test output files...
8 del %tstout%\*.dif
9 del %tstout%\*.suc
10 del %tstout%\*.log
11 del %tstout%\*.t3s
12 del %tstout%\*.t3o
13 del %tstout%\*.t3
14 rmdir /s /q %tstout%\dirtest
15 echo.
16
17 rem object test - doesn't produce any output; mostly check for no crashiness
18 echo Object test
19 %tstbin%\test_obj
20 echo.
21
22 rem Preprocessor tests
23
24 call %tstbat%\testpp ansi
25 call %tstbat%\testpp circ
26 call %tstbat%\testpp circ2
27 call %tstbat%\testpp embed
28 call %tstbat%\testpp define
29 call %tstbat%\testpp ifdef
30 call %tstbat%\testpp concat
31 call %tstbat%\testpp varmacpp
32
33 rem Execution tests
34
35 call %tstbat%\testexec basic
36 call %tstbat%\testexec finally
37 call %tstbat%\testexec dstr
38 call %tstbat%\testexec fnredef
39 call %tstbat%\testexec -cp latin1 builtin
40 call %tstbat%\testexec undo
41 call %tstbat%\testexec gotofin
42
43 rem "Make" tests
44
45 call %tstbat%\testmake -nodef extern extern1 extern2 extern3
46 call %tstbat%\testmake -nodef extfunc extfunc1 extfunc2
47 call %tstbat%\testmake -nodef objmod objmod1 objmod2 objmod3
48 call %tstbat%\testmake -nodef objrep objrep1 objrep2
49 call %tstbat%\testmake -nodef funcrep funcrep1 funcrep2
50 call %tstbat%\testmake -nodef catch catch
51 call %tstbat%\testmake except except
52 call %tstbat%\testmake -nodef save save
53 call %tstbat%\testmake objloop objloop
54 call %tstbat%\testmake -nodef html html
55 call %tstbat%\testmake -nodef addlist addlist
56 call %tstbat%\testmake -nodef conflict conflict1 conflict2
57 call %tstbat%\testmake -pre vocext vocext1 vocext2 reflect
58 call %tstbat%\testmake -nodef listpar listpar
59 call %tstbat%\testmake -nodef arith arith
60 call %tstbat%\testmake bignum bignum
61 call %tstbat%\testmake bignum2 bignum2
62 call %tstbat%\testmake unicode unicode
63 call %tstbat%\testmake -nodef gram2 tok gram2
64 rem REMOVED - OBSOLETE call %tstbat%\testmake array array
65 call %tstbat%\testmake anon anon
66 call %tstbat%\testmake isin isin
67 call %tstbat%\testmake htmlify htmlify
68 call %tstbat%\testmake listprop listprop
69 call %tstbat%\testmake foreach foreach
70 call %tstbat%\testmake vector vector
71 call %tstbat%\testmake vector2 vector2
72 call %tstbat%\testmake vector3 vector3
73 call %tstbat%\testmake lclprop lclprop
74 call %tstbat%\testmake lookup lookup
75 call %tstbat%\testmake lookup2 lookup2
76 call %tstbat%\testmake lookup3 lookup3
77 call %tstbat%\testmake lookupdef lookupdef
78 call %tstbat%\testmake strbuf strbuf
79 call %tstbat%\testrun strbuf_restore strbuf -restore
80 call %tstbat%\testmake propaddr propaddr
81 call %tstbat%\testmake funcparm funcparm
82 call %tstbat%\testmake newprop newprop
83 call %tstbat%\testmake anonobj anonobj
84 call %tstbat%\testmake anonfunc anonfunc
85 call %tstbat%\testmake nested nested
86 call %tstbat%\testmake badnest badnest
87 call %tstbat%\testmake varmac varmac
88 call %tstbat%\testmake setsc setsc
89 call %tstbat%\testmake substr substr
90 call %tstbat%\testmake -debug stack stack reflect
91 call %tstbat%\testmake -pre targprop targprop reflect
92 call %tstbat%\testmake -pre clone clone reflect
93 call %tstbat%\testmake anonvarg anonvarg
94 call %tstbat%\testmake inh_next inh_next
95 call %tstbat%\testmake multidyn multidyn
96 call %tstbat%\testmake opoverload opoverload
97 call %tstbat%\testmake -script -nodef inkey inkey
98 call %tstbat%\testmake -nodef rand rand
99 call %tstbat%\testmake rand3 rand3
100 call %tstbat%\testmake strcomp2 strcomp2
101 call %tstbat%\testmake -cp latin1 strcomp3 strcomp3
102 call %tstbat%\testmake findreplace findreplace
103 call %tstbat%\testmake findall findall
104 call %tstbat%\testmake rexreplace rexreplace
105 call %tstbat%\testmake rexassert rexassert
106 call %tstbat%\testmake constregex constregex
107 call %tstbat%\testmake hashes hashes
108 call %tstbat%\testmake join join
109 call %tstbat%\testmake -norun -pre dyncomp dyncomp dynfunc
110 call %tstbat%\testrun dyncomp_save dyncomp -save dyncomp.t3v
111 call %tstbat%\testrun dyncomp_restore dyncomp -restore dyncomp.t3v
112 call %tstbat%\testmake asi asi
113 call %tstbat%\testmake spec2html spec2html
114 call %tstbat%\testmake spec2text spec2text
115 call %tstbat%\testmake propptr propptr
116 call %tstbat%\testmake -pre printexpr printexpr dynfunc
117 call %tstbat%\testmake -pre dynctx dynctx dynfunc
118 call %tstbat%\testmake -cp cp1252 -pre bytarr bytarr
119 call %tstbat%\testmake -cp cp1252 -pre bytarr2 bytarr2
120 call %tstbat%\testmake sprintf sprintf
121 call %tstbat%\testmake split split
122 call %tstbat%\testmake shr shr
123 call %tstbat%\testmake ifnil ifnil
124 call %tstbat%\testmake testaddr1 testaddr1 testaddr1b
125 call %tstbat%\testmake testaddr2 testaddr2
126 call %tstbat%\testmake testaddr3 testaddr3
127 call %tstbat%\testmake testaddr4 testaddr4
128 call %tstbat%\testmake strtpl strtpl
129 call %tstbat%\testmake listminmax listminmax
130 call %tstbat%\testmake defined_test1 defined
131 call %tstbat%\testmake defined_test2 defined defined2
132 call %tstbat%\testmake datatypexlat datatypexlat
133 call %tstbat%\testmake embedfmt embedfmt
134 call %tstbat%\testmake dirtest dirtest file
135 call %tstbat%\testmake date date
136 call %tstbat%\testmake datefmt datefmt
137 call %tstbat%\testmake dateprs dateprs
138 call %tstbat%\testmake -cp latin1 datelocale datelocale
139 call %tstbat%\testmake -norun -pre datesave datesave
140 call %tstbat%\testrun datesave_s datesave save
141 call %tstbat%\testrun datesave_r datesave restore
142 call %tstbat%\testmake testov testov
143 call %tstbat%\testmake vecmod vecmod
144 call %tstbat%\testmake listmod listmod
145 call %tstbat%\testmake idxov idxov
146 call %tstbat%\testmake -norun floatfolderr floatfolderr
147 call %tstbat%\testmake -pre floatfold floatfold reflect
148 call %tstbat%\testmake -pre tostring tostring reflect
149 call %tstbat%\testmake -pre match match
150 call %tstbat%\testmake -pre inlineobj inlineobj dynfunc
151 call %tstbat%\testmake newline_spacing newline_spacing
152 call %tstbat%\testmake nested_embed nested_embed
153 call %tstbat%\testmake nested_embed_err nested_embed_err
154
155 rem These tests require running preinit (testmake normally suppresses it)
156 call %tstbat%\testmake -pre vec_pre vec_pre
157 call %tstbat%\testmake -pre symtab symtab
158 call %tstbat%\testmake -pre enumprop enumprop
159 call %tstbat%\testmake -pre modtobj modtobj
160 call %tstbat%\testmake -pre undef undef
161 call %tstbat%\testmake -pre undef2 undef2
162 call %tstbat%\testmake -pre multimethod_dynamic multimethod multmeth
163 call %tstbat%\testmake -pre multimethod_static -DMULTMETH_STATIC_INHERITED multimethod multmeth
164 call %tstbat%\testmake -pre multimethod_dynamic2 multimethod multimethod2 multmeth
165 call %tstbat%\testmake -pre multimethod_static2 -DMULTMETH_STATIC_INHERITED multimethod multimethod2 multmeth
166 call %tstbat%\testmake -pre namedparam namedparam multmeth
167 call %tstbat%\testmake -pre optargs optargs
168 call %tstbat%\testmake -pre optargs_err optargs_err
169 call %tstbat%\testmake -pre optargs_err2 optargs_err2
170 call %tstbat%\testmake -pre bifptr bifptr dynfunc
171 call %tstbat%\testmake -pre setmethod setmethod dynfunc
172 call %tstbat%\testmake -pre lclvars lclvars lclvars2 reflect dynfunc
173 call %tstbat%\testmake -pre dynamicGrammar dynamicGrammar tok dynfunc gramprod
174 call %tstbat%\testmake -pre triplequote triplequote
175 call %tstbat%\testmake -pre newembed newembed
176 call %tstbat%\testmake -pre newembederr newembederr
177
178 call %tstbat%\testpack packfile
179 call %tstbat%\testpack packfloats
180 call %tstbat%\testmake packstr packstr
181 call %tstbat%\testmake packarr packarr
182
183 rem ITER does a save/restore test
184 call %tstbat%\testmake iter iter
185 call %tstbat%\testrestore iter2 iter
186
187 rem "Preinit" tests
188 call %tstbat%\testpre preinit
189
190 rem Resource file tests
191 call %tstbat%\testres resfile -res -add "test\data\resfile.dat=testres.txt"
192
193 rem Starter game tests
194 call %tstbat%\testsample /Adv3 startI3
195 call %tstbat%\testsample /Adv3 startA3
196 call %tstbat%\testsample sample
197
198 rem Return to Ditch Day tests
199 call %tstbat%\testditch m_walkthru ditch3_walkthru
200
201 @echo.
202
203 if exist %tstout%\*.suc dir %tstout%\*.suc
204 if exist %tstout%\*.dif dir %tstout%\*.dif
205
206 if exist %tstout%\*.log goto found_diffs
207 echo *** SUCCESS ***
208 goto done
209
210 :found_diffs
211 echo *** DIFFERENCE FILES FOUND ***
212
213 :done
214 echo.