|
1 @rem |
|
2 @rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 @rem All rights reserved. |
|
4 @rem This component and the accompanying materials are made available |
|
5 @rem under the terms of the License "Eclipse Public License v1.0" |
|
6 @rem which accompanies this distribution, and is available |
|
7 @rem at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 @rem |
|
9 @rem Initial Contributors: |
|
10 @rem Nokia Corporation - initial contribution. |
|
11 @rem |
|
12 @rem Contributors: |
|
13 @rem |
|
14 @rem Description: |
|
15 @rem |
|
16 REM Warning - The Silent Install test, cleanupinfrastructure test and tpropagation test will format the E: MMC drive |
|
17 REM Save existing results |
|
18 md c:\savedresults |
|
19 copy /s e:\testresults\* c:\savedresults |
|
20 |
|
21 REM Save the USB Bootloader and BATS hardware board config file |
|
22 md c:\USBLoader |
|
23 copy /s e:\usbload.zip c:\USBLoader |
|
24 copy /s e:\_hw_board_* c:\USBLoader |
|
25 |
|
26 REM Run test |
|
27 testexecute z:\tswi\tuiscriptadaptors\scripts\tsilent_h2.script |
|
28 |
|
29 REM Run test |
|
30 testexecute z:\tswi\tuiscriptadaptors\scripts\tswidaemonstub_h2.script |
|
31 |
|
32 REM Run test |
|
33 testexecute z:\tswi\tuiscriptadaptors\scripts\inc098114_h2.script |
|
34 |
|
35 md c:\tswi |
|
36 |
|
37 testexecute z:\tswi\tuiscriptadaptors\scripts\tcleanupinfrastructure.script |
|
38 |
|
39 testexecute z:\tswi\tuiscriptadaptors\scripts\tpropagation_arm.script |
|
40 |
|
41 testexecute z:\tswi\tuiscriptadaptors\scripts\test_pa_sapropagated_notdelete.script |
|
42 |
|
43 |
|
44 REM Restore results |
|
45 md e:\testresults |
|
46 copy /s c:\savedresults e:\testresults\* |
|
47 del /s c:\savedresults\* |
|
48 |
|
49 REM Restore USB Bootloader and BATS hardware board config file |
|
50 copy c:\USBLoader\usbload.zip e:\usbload.zip |
|
51 copy c:\USBLoader\_hw_board_* e:\_hw_board_* |
|
52 del /s c:\USBLoader\* |
|
53 |
|
54 # Save Silent Install, cleanupinfrastructure and tpropagation test results |
|
55 move c:\logs\testexecute\tsilent_h2.htm e:\testresults\tsilent_h2.htm |
|
56 move c:\logs\testexecute\tswidaemonstub_h2.htm e:\testresults\tswidaemonstub_h2.htm |
|
57 move c:\logs\testexecute\inc098114_h2.htm e:\testresults\inc098114_h2.htm |
|
58 move c:\logs\testexecute\tcleanupinfrastructure.htm e:\testresults\tcleanupinfrastructure.htm |
|
59 copy c:\logs\testexecute\tpropagation_arm.htm e:\testresults\tpropagation_arm.htm |
|
60 move c:\logs\testexecute\test_pa_sapropagated_notdelete.htm e:\testresults\test_pa_sapropagated_notdelete.htm |
|
61 |
|
62 REM Run recognizer tests |
|
63 md c:\trecog |
|
64 copy /s z:\trecog\* c:\trecog |
|
65 |
|
66 testexecute z:\tswi\swicaptests\scripts\swicaptests.script |
|
67 move c:\logs\testexecute\swicaptests.htm e:\testresults\swicaptests.htm |
|
68 |
|
69 testexecute z:\tswi\tsis\scripts\tsis.script |
|
70 move c:\logs\testexecute\tsis.htm e:\testresults\tsis.htm |
|
71 |
|
72 testexecute z:\tswi\tsis\scripts\tsis_signed.script |
|
73 move c:\logs\testexecute\tsis_signed.htm e:\testresults\tsis_signed.htm |
|
74 |
|
75 testexecute z:\tswi\tintegrityservices\scripts\tintegrityservices.script |
|
76 move c:\logs\testexecute\tintegrityservices.htm e:\testresults\tintegrityservices.htm |
|
77 |
|
78 testexecute z:\tswi\tuiscriptadaptors\scripts\testuninstallation_arm_only.script |
|
79 move c:\logs\testexecute\testuninstallation_arm_only.htm e:\testresults\testuninstallation_arm_only.htm |
|
80 |
|
81 testexecute z:\tswi\tsishelper\scripts\tsishelper.script |
|
82 move c:\logs\testexecute\tsishelper.htm e:\testresults\tsishelper.htm |
|
83 |
|
84 testexecute z:\tswi\tuiscriptadaptors\scripts\testwritableswicertstore.script |
|
85 move c:\logs\testexecute\testwritableswicertstore.htm e:\testresults\testwritableswicertstore.htm |
|
86 |
|
87 REM NQP Tests for DataProvider |
|
88 testexecute z:\tswi\tdataprovider\scripts\tdataprovider.script |
|
89 move c:\logs\testexecute\tdataprovider.htm e:\testresults\tdataprovider.htm |
|
90 |
|
91 md c:\private |
|
92 md c:\private\101f72a6\ |
|
93 copy z:\tswi\tsis\data\certstore\* c:\private\101f72a6\ |
|
94 |
|
95 attrib c:\tswi\*.* -r |
|
96 |
|
97 copy z:\auto.cfg c:\ |
|
98 copy z:\auto_broken.cfg c:\ |
|
99 |
|
100 testexecute z:\tswi\tuiscriptadaptors\scripts\tuiscriptadaptors.script |
|
101 move c:\logs\testexecute\tuiscriptadaptors.htm e:\testresults\tuiscriptadaptors.htm |
|
102 |
|
103 testexecute z:\tswi\tuiscriptadaptors\scripts\tuninstallpkgs_h4.script |
|
104 move c:\logs\testexecute\tuninstallpkgs_h4.htm e:\testresults\tuninstallpkgs_h4.htm |
|
105 |
|
106 testexecute z:\tswi\tuiscriptadaptors\scripts\testvids.script |
|
107 move c:\logs\testexecute\testvids.htm e:\testresults\testvids.htm |
|
108 |
|
109 testexecute z:\tswi\tuiscriptadaptors\scripts\testasync.script |
|
110 move c:\logs\testexecute\testasync.htm e:\testresults\testasync.htm |
|
111 |
|
112 testexecute z:\tswi\tuiscriptadaptors\scripts\testdrmasync.script |
|
113 move c:\logs\testexecute\testdrmasync.htm e:\testresults\testdrmasync.htm |
|
114 |
|
115 testexecute z:\tswi\tuiscriptadaptors\scripts\tuiscriptadaptorsFH.script |
|
116 move c:\logs\testexecute\tuiscriptadaptorsFH.htm e:\testresults\tuiscriptadaptorsFH.htm |
|
117 |
|
118 testexecute z:\tswi\tuiscriptadaptors\scripts\testexpressions.script |
|
119 move c:\logs\testexecute\testexpressions.htm e:\testresults\testexpressions.htm |
|
120 |
|
121 testexecute z:\tswi\tuiscriptadaptors\scripts\testdrives.script |
|
122 move c:\logs\testexecute\testdrives.htm e:\testresults\testdrives.htm |
|
123 |
|
124 copy z:\auto.cfg c:\auto.cfg |
|
125 attrib c:\auto.cfg -r |
|
126 md c:\tswi\tbackuprestore |
|
127 testexecute z:\tswi\tbackuprestore\scripts\tbackuprestore.script |
|
128 move c:\logs\testexecute\tbackuprestore.htm e:\testresults\tbackuprestore.htm |
|
129 |
|
130 testexecute z:\tswi\tbackuprestore\scripts\tbackuprestoredrive_armv5.script |
|
131 move c:\logs\testexecute\tbackuprestoredrive_armv5.htm e:\testresults\tbackuprestoredrive_armv5.htm |
|
132 |
|
133 testexecute z:\tswi\tbackuprestore\scripts\tbackuptrestore_exploratory.script |
|
134 move c:\logs\testexecute\tbackuptrestore_exploratory.htm e:\testresults\tbackuptrestore_exploratory.htm |
|
135 |
|
136 testexecute z:\tswi\trevocation\scripts\trevocation.script |
|
137 move c:\logs\testexecute\trevocation.htm e:\testresults\trevocation.htm |
|
138 |
|
139 testexecute z:\tswi\tdaemon\scripts\tdaemon.script |
|
140 move c:\logs\testexecute\tdaemon.htm e:\testresults\tdaemon.htm |
|
141 |
|
142 testexecute z:\tswi\tuiscriptadaptors\scripts\testlocations.script |
|
143 move c:\logs\testexecute\testlocations.htm e:\testresults\testlocations.htm |
|
144 |
|
145 testexecute z:\tswi\tuiscriptadaptors\scripts\testcancel.script |
|
146 move c:\logs\testexecute\testcancel.htm e:\testresults\testcancel.htm |
|
147 |
|
148 testexecute z:\tswi\tuiscriptadaptors\scripts\testasynccancel.script |
|
149 move c:\logs\testexecute\testasynccancel.htm e:\testresults\testasynccancel.htm |
|
150 |
|
151 testexecute z:\tswi\tuiscriptadaptors\scripts\testrun.script |
|
152 move c:\logs\testexecute\testrun.htm e:\testresults\testrun.htm |
|
153 |
|
154 testexecute z:\tswi\tuiscriptadaptors\scripts\testrunft.script |
|
155 move c:\logs\testexecute\testrunft.htm e:\testresults\testrunft.htm |
|
156 |
|
157 testexecute z:\tswi\tuiscriptadaptors\scripts\testupgrades.script |
|
158 move c:\logs\testexecute\testupgrades.htm e:\testresults\testupgrades.htm |
|
159 |
|
160 testexecute z:\tswi\tuiscriptadaptors\scripts\testaugmentations.script |
|
161 move c:\logs\testexecute\testaugmentations.htm e:\testresults\testaugmentations.htm |
|
162 |
|
163 testexecute z:\tswi\tuiscriptadaptors\scripts\testpreinstalled.script |
|
164 move c:\logs\testexecute\testpreinstalled.htm e:\testresults\testpreinstalled.htm |
|
165 |
|
166 testexecute z:\tswi\tuiscriptadaptors\scripts\testdependencies.script |
|
167 move c:\logs\testexecute\testdependencies.htm e:\testresults\testdependencies.htm |
|
168 |
|
169 testexecute z:\tswi\tuiscriptadaptors\scripts\testshutdown.script |
|
170 move c:\logs\testexecute\testshutdown.htm e:\testresults\testshutdown.htm |
|
171 |
|
172 testexecute z:\tswi\tsisregistrytest\scripts\tsisregistrytest.script |
|
173 move c:\logs\testexecute\tsisregistrytest.htm e:\testresults\tsisregistrytest.htm |
|
174 |
|
175 testexecute z:\tswi\tuiscriptadaptors\scripts\tsisstub.script |
|
176 move c:\logs\testexecute\tsisstub.htm e:\testresults\tsisstub.htm |
|
177 |
|
178 testexecute z:\tswi\tuiscriptadaptors\scripts\testdrm.script |
|
179 move c:\logs\testexecute\testdrm.htm e:\testresults\testdrm.htm |
|
180 |
|
181 testexecute z:\tswi\tuiscriptadaptors\scripts\testdrmFH.script |
|
182 move c:\logs\testexecute\testdrmFH.htm e:\testresults\testdrmFH.htm |
|
183 |
|
184 testexecute z:\tswi\tuiscriptadaptors\scripts\testmulti.script |
|
185 move c:\logs\testexecute\testmulti.htm e:\testresults\testmulti.htm |
|
186 |
|
187 testexecute z:\tswi\tuiscriptadaptors\scripts\testextension.script |
|
188 move c:\logs\testexecute\testextension.htm e:\testresults\testextension.htm |
|
189 |
|
190 REM install automated commdb using sim.tsy for tdev |
|
191 ced -i z:\autosimtsy.cfg |
|
192 |
|
193 copy z:\tswi\tdevcerts\config.txt c:\config.txt |
|
194 testexecute z:\tswi\tdevcerts\scripts\devcerts_match.script |
|
195 move c:\logs\testexecute\devcerts_match.htm e:\testresults\devcerts_match.htm |
|
196 |
|
197 testexecute z:\tswi\tdevcerts\scripts\devcerts_mismatch.script |
|
198 move c:\logs\testexecute\devcerts_mismatch.htm e:\testresults\devcerts_mismatch.htm |
|
199 |
|
200 testexecute z:\tswi\tdevcerts\scripts\devcerts_aggregate.script |
|
201 move c:\logs\testexecute\devcerts_aggregate.htm e:\testresults\devcerts_aggregate.htm |
|
202 |
|
203 testexecute z:\tswi\tdevcerts\scripts\devcerts_corrupt.script |
|
204 move c:\logs\testexecute\devcerts_corrupt.htm e:\testresults\devcerts_corrupt.htm |
|
205 |
|
206 testexecute z:\tswi\tdevcerts\scripts\devcerts_backuprestore.script |
|
207 move c:\logs\testexecute\devcerts_backuprestore.htm e:\testresults\devcerts_backuprestore.htm |
|
208 |
|
209 testexecute z:\tswi\tdevcerts\scripts\devcerts_backup.script |
|
210 move c:\logs\testexecute\devcerts_backup.htm e:\testresults\devcerts_backup.htm |
|
211 |
|
212 attrib c:\config.txt -r |
|
213 del c:\config.txt |
|
214 copy z:\tswi\tdevcerts\config2.txt c:\config.txt |
|
215 testexecute z:\tswi\tdevcerts\scripts\devcerts_restore.script |
|
216 move c:\logs\testexecute\devcerts_restore.htm e:\testresults\devcerts_restore.htm |
|
217 attrib c:\config.txt -r |
|
218 del c:\config.txt |
|
219 |
|
220 REM restore standard automated commdb for the rest of the tests |
|
221 ced -i z:\auto.cfg |
|
222 |
|
223 testexecute z:\tswi\tdevcerts\scripts\devcerts_ocsp.script |
|
224 move c:\logs\testexecute\devcerts_ocsp.htm e:\testresults\devcerts_ocsp.htm |
|
225 |
|
226 testexecute z:\tswi\tuiscriptadaptors\scripts\testeclipse.script |
|
227 move c:\logs\testexecute\testeclipse.htm e:\testresults\testeclipse.htm |
|
228 |
|
229 #testexecute z:\tswi\tuiscriptadaptors\scripts\tuileavedialog.script |
|
230 #move c:\logs\testexecute\tuileavedialog.htm e:\testresults\tuileavedialog.htm |
|
231 |
|
232 #testexecute z:\tswi\tuiscriptadaptors\scripts\tuileavedialogasync.script |
|
233 #move c:\logs\testexecute\tuileavedialogasync.htm e:\testresults\tuileavedialogasync.htm |
|
234 |
|
235 testexecute z:\tswi\tuiscriptadaptors\scripts\testappinuse.script |
|
236 move c:\logs\testexecute\testappinuse.htm e:\testresults\testappinuse.htm |
|
237 |
|
238 testexecute z:\tswi\tuiscriptadaptors\scripts\testVFP.script |
|
239 move c:\logs\testexecute\testVFP.htm e:\testresults\testVFP.htm |
|
240 |
|
241 testexecute z:\tswi\tuiscriptadaptors\scripts\switermination.script |
|
242 move c:\logs\testexecute\switermination.htm e:\testresults\switermination.htm |
|
243 |
|
244 REM Test non removable flag |
|
245 testexecute z:\tswi\tuiscriptadaptors\scripts\testnonremovable_armv5.script |
|
246 move c:\logs\testexecute\testnonremovable_armv5.htm e:\testresults\testnonremovable_armv5.htm |
|
247 |
|
248 md c:\tswi\tbackuprestore |
|
249 testexecute z:\tswi\tuiscriptadaptors\scripts\tresetdevice.script |
|
250 move c:\logs\testexecute\tresetdevice.htm e:\testresults\tresetdevice.htm |
|
251 |
|
252 REM DevInfoSupport test |
|
253 tdevinfosupport |
|
254 copy c:\swi.log e:\testresults\swi.log |
|
255 del c:\swi.log |
|
256 testexecute z:\tswi\tuiscriptadaptors\scripts\tuileavedialog.script |
|
257 move c:\logs\testexecute\tuileavedialog.htm e:\testresults\tuileavedialog.htm |
|
258 |
|
259 testexecute z:\tswi\tuiscriptadaptors\scripts\tuileavedialogasync.script |
|
260 move c:\logs\testexecute\tuileavedialogasync.htm e:\testresults\tuileavedialogasync.htm |
|
261 |
|
262 REM SwiConsole Tests |
|
263 testexecute z:\tswi\tswiconsole\scripts\tswiconsole.script |
|
264 move c:\logs\testexecute\tswiconsole.htm e:\testresults\tswiconsole.htm |
|
265 |
|
266 REM DEF083628: Orphaned files in protected dirs can be overwritten by untrusted packages |
|
267 testexecute z:\tswi\tuiscriptadaptors\scripts\overwriteprivate_positive.script |
|
268 move c:\logs\testexecute\overwriteprivate_positive.htm e:\testresults\overwriteprivate_positive.script.htm |
|
269 |
|
270 testexecute z:\tswi\tautosigning\scripts\tautosigning.script |
|
271 copy c:\logs\testexeute\tautosigning.htm e:\testresults\tautosigning.htm |
|
272 |
|
273 testexecute z:\tswi\tuiscriptadaptors\scripts\testasynccaps.script |
|
274 move c:\logs\testexecute\testasynccaps.htm e:\testresults\testasynccaps.htm |
|
275 |
|
276 testexecute z:\tswi\tuiscriptadaptors\scripts\testdiskfullemulator.script |
|
277 move c:\logs\testexecute\testdiskfullemulator.htm e:\testresults\testdiskfullemulator.htm |
|
278 |
|
279 del e:\BigTempFile |
|
280 |
|
281 |
|
282 testexecute z:\tswi\tuiscriptadaptors\scripts\testmandatory_HW.script |
|
283 move c:\logs\testexecute\testmandatory_hw.htm e:\testresults\testmandatory.htm |
|
284 |
|
285 testexecute z:\tswi\tuiscriptadaptors\scripts\testsystemcaps.script |
|
286 move c:\logs\testexecute\testsystemcaps.htm e:\testresults\testsystemcaps.htm |
|
287 |
|
288 testexecute z:\tswi\tuiscriptadaptors\scripts\testusercaps.script |
|
289 move c:\logs\testexecute\testusercaps.htm e:\testresults\testusercaps.htm |
|
290 REM Demandpaging tests |
|
291 testexecute z:\tswi\tuiscriptadaptors\scripts\tdempaging_armv5.script |
|
292 move c:\logs\testexecute\tdempaging_armv5.htm e:\testresults\tdempaging_armv5.htm |
|
293 |
|
294 REM CR0914Tests |
|
295 testexecute z:\tswi\tsisregistrytest\scripts\integritychecktest.script |
|
296 move c:\logs\testexecute\integritychecktest.htm e:\testresults\integritychecktest.htm |
|
297 |
|
298 REM NQP Tests for DataProvider |
|
299 testexecute z:\tswi\tdataprovider\scripts\tdataprovider.script |
|
300 move c:\logs\testexecute\tdataprovider.htm e:\testresults\tdataprovider.htm |
|
301 |
|
302 REM SWI Adorned filename handling tests |
|
303 testexecute.exe z:\tswi\tuiscriptadaptors\scripts\adornedfilenames.script |
|
304 copy c:\logs\testexecute\adornedfilenames.htm e:\testresults\adornedfilenames.htm |
|
305 |
|
306 del c:\temp\*.* |
|
307 attrib c:\tswi\*.* -r |
|
308 del c:\tswi\*.* |
|
309 |
|
310 attrib c:\logs\testexecute\*.* -r |
|
311 del c:\logs\testexecute\*.* |