OSDN Git Service

Version 3.00
[vbslib/main.git] / _src / TestByFCBatAuto / TestPrompt / T_SkipToSection / T_ALL_4_setup.bat
1 @echo off\r
2 REM === Make the answer data including absolute path \r
3 \r
4 pushd .\r
5 set base=%cd%\r
6 popd\r
7 pushd ..\r
8 set base_vbslib=%cd%\vbslib\r
9 popd\r
10 \r
11 \r
12 set out=T_SkipToSection_NoArg_ans.txt\r
13 if exist %out% del %out%\r
14 echo ^>SetWritableMode  F_ErrIfWarn>>%out%\r
15 echo TestPrompt.vbs [T_SkipToSection]>>%out%\r
16 echo    test vbs = T_SkipToSection.vbs>>%out%\r
17 echo    base folder = %base%>>%out%\r
18 echo 1. Select the Test (current test = T_SkipToSection)>>%out%\r
19 echo 2. Do ALL Test>>%out%\r
20 echo 3. ^| Build the binary>>%out%\r
21 echo 4. ^| Setup the test>>%out%\r
22 echo 5. ^| Do the unit test on Debugger>>%out%\r
23 echo 6. ^| Check the result>>%out%\r
24 echo 7. ^| Clean>>%out%\r
25 echo 8. Change the Debug Mode (debug script=False, target=False)>>%out%\r
26 echo 88.Open Fail Folder>>%out%\r
27 echo 89.Next Fail>>%out%\r
28 echo 9. Quit>>%out%\r
29 echo Select number^>2>>%out%\r
30 echo -------------------------------------------------------->>%out%\r
31 echo Test Start : T_SkipToSection.vbs>>%out%\r
32 echo ^<Section num='1'/^>>>%out%\r
33 echo ^<Section num='2'/^>>>%out%\r
34 echo ==========================================================>>%out%\r
35 echo ((( [T_SkipToSection\T_SkipToSection.vbs] - test_build )))>>%out%\r
36 echo Pass.>>%out%\r
37 echo ^<Section num='3'/^>>>%out%\r
38 echo ==========================================================>>%out%\r
39 echo ((( [T_SkipToSection\T_SkipToSection.vbs] - test_setup )))>>%out%\r
40 echo Pass.>>%out%\r
41 echo ^<Section num='4'/^>>>%out%\r
42 echo ==========================================================>>%out%\r
43 echo ((( [T_SkipToSection\T_SkipToSection.vbs] - test_start )))>>%out%\r
44 echo Pass.>>%out%\r
45 echo ^<Section num='5'/^>>>%out%\r
46 echo ==========================================================>>%out%\r
47 echo ((( [T_SkipToSection\T_SkipToSection.vbs] - test_check )))>>%out%\r
48 echo Pass.>>%out%\r
49 echo ^<Section num='6'/^>>>%out%\r
50 echo ==========================================================>>%out%\r
51 echo ((( [T_SkipToSection\T_SkipToSection.vbs] - test_clean )))>>%out%\r
52 echo Pass.>>%out%\r
53 echo ==========================================================>>%out%\r
54 echo Test Finish (Pass=5, Manual=0, Skip=0, Fail=0)>>%out%\r
55 echo.>>%out%\r
56 echo -------------------------------------------------------->>%out%\r
57 echo TestPrompt.vbs [T_SkipToSection]>>%out%\r
58 echo    test vbs = T_SkipToSection.vbs>>%out%\r
59 echo    base folder = %base%>>%out%\r
60 echo 1. Select the Test (current test = T_SkipToSection)>>%out%\r
61 echo 2. Do ALL Test>>%out%\r
62 echo 3. ^| Build the binary>>%out%\r
63 echo 4. ^| Setup the test>>%out%\r
64 echo 5. ^| Do the unit test on Debugger>>%out%\r
65 echo 6. ^| Check the result>>%out%\r
66 echo 7. ^| Clean>>%out%\r
67 echo 8. Change the Debug Mode (debug script=False, target=False)>>%out%\r
68 echo 88.Open Fail Folder>>%out%\r
69 echo 89.Next Fail>>%out%\r
70 echo 9. Quit>>%out%\r
71 echo Select number^>9>>%out%\r
72 echo -------------------------------------------------------->>%out%\r
73 \r
74 \r
75 \r
76 set out=T_SkipToSection_Local_0_ans.txt\r
77 if exist %out% del %out%\r
78 echo ^>SetWritableMode  F_ErrIfWarn>>%out%\r
79 echo TestPrompt.vbs [T_SkipToSection]>>%out%\r
80 echo    test vbs = T_SkipToSection.vbs>>%out%\r
81 echo    base folder = %base%>>%out%\r
82 echo 1. Select the Test (current test = T_SkipToSection)>>%out%\r
83 echo 2. Do ALL Test>>%out%\r
84 echo 3. ^| Build the binary>>%out%\r
85 echo 4. ^| Setup the test>>%out%\r
86 echo 5. ^| Do the unit test on Debugger>>%out%\r
87 echo 6. ^| Check the result>>%out%\r
88 echo 7. ^| Clean>>%out%\r
89 echo 8. Change the Debug Mode (debug script=False, target=False)>>%out%\r
90 echo 88.Open Fail Folder>>%out%\r
91 echo 89.Next Fail>>%out%\r
92 echo 9. Quit>>%out%\r
93 echo Select number^>2>>%out%\r
94 echo -------------------------------------------------------->>%out%\r
95 echo Test Start : T_SkipToSection.vbs>>%out%\r
96 echo ^<Section num='1'/^>>>%out%\r
97 echo ^<Section num='2'/^>>>%out%\r
98 echo ==========================================================>>%out%\r
99 echo ((( [T_SkipToSection\T_SkipToSection.vbs] - test_build )))>>%out%\r
100 echo Pass.>>%out%\r
101 echo ^<Section num='3'/^>>>%out%\r
102 echo ==========================================================>>%out%\r
103 echo ((( [T_SkipToSection\T_SkipToSection.vbs] - test_setup )))>>%out%\r
104 echo Pass.>>%out%\r
105 echo ^<Section num='4'/^>>>%out%\r
106 echo ==========================================================>>%out%\r
107 echo ((( [T_SkipToSection\T_SkipToSection.vbs] - test_start )))>>%out%\r
108 echo Pass.>>%out%\r
109 echo ^<Section num='5'/^>>>%out%\r
110 echo ==========================================================>>%out%\r
111 echo ((( [T_SkipToSection\T_SkipToSection.vbs] - test_check )))>>%out%\r
112 echo Pass.>>%out%\r
113 echo ^<Section num='6'/^>>>%out%\r
114 echo ==========================================================>>%out%\r
115 echo ((( [T_SkipToSection\T_SkipToSection.vbs] - test_clean )))>>%out%\r
116 echo Pass.>>%out%\r
117 echo [FAIL] [ERROR](1) SkipToSection \82ð\83J\83b\83g\82µ\82Ä\82­\82¾\82³\82¢\81B>>%out%\r
118 echo ==========================================================>>%out%\r
119 echo Test Finish (Pass=5, Manual=0, Skip=0, Fail=1)>>%out%\r
120 echo.>>%out%\r
121 echo -------------------------------------------------------->>%out%\r
122 echo TestPrompt.vbs [T_SkipToSection]>>%out%\r
123 echo    test vbs = T_SkipToSection.vbs>>%out%\r
124 echo    base folder = %base%>>%out%\r
125 echo 1. Select the Test (current test = T_SkipToSection)>>%out%\r
126 echo 2. Do ALL Test>>%out%\r
127 echo 3. ^| Build the binary>>%out%\r
128 echo 4. ^| Setup the test>>%out%\r
129 echo 5. ^| Do the unit test on Debugger>>%out%\r
130 echo 6. ^| Check the result>>%out%\r
131 echo 7. ^| Clean>>%out%\r
132 echo 8. Change the Debug Mode (debug script=False, target=False)>>%out%\r
133 echo 88.Open Fail Folder>>%out%\r
134 echo 89.Next Fail>>%out%\r
135 echo 9. Quit>>%out%\r
136 echo Select number^>9>>%out%\r
137 echo -------------------------------------------------------->>%out%\r
138 \r
139 \r
140 \r
141 set out=T_SkipToSection_ALL_0_ans.txt\r
142 if exist %out% del %out%\r
143 echo ^>SetWritableMode  F_ErrIfWarn>>%out%\r
144 echo TestPrompt.vbs [T_SkipToSection]>>%out%\r
145 echo    test vbs = T_SkipToSection.vbs>>%out%\r
146 echo    base folder = %base%>>%out%\r
147 echo 1. Select the Test (current test = T_SkipToSection)>>%out%\r
148 echo 2. Do ALL Test>>%out%\r
149 echo 3. ^| Build the binary>>%out%\r
150 echo 4. ^| Setup the test>>%out%\r
151 echo 5. ^| Do the unit test on Debugger>>%out%\r
152 echo 6. ^| Check the result>>%out%\r
153 echo 7. ^| Clean>>%out%\r
154 echo 8. Change the Debug Mode (debug script=False, target=False)>>%out%\r
155 echo 88.Open Fail Folder>>%out%\r
156 echo 89.Next Fail>>%out%\r
157 echo 9. Quit>>%out%\r
158 echo Select number^>1>>%out%\r
159 echo -------------------------------------------------------->>%out%\r
160 echo Test symbol list:>>%out%\r
161 echo   0) ALL (pre-defined)>>%out%\r
162 echo   1) T_SkipToSection>>%out%\r
163 echo Input test number or symbol or "ALL"^>0>>%out%\r
164 echo -------------------------------------------------------->>%out%\r
165 echo TestPrompt.vbs [ALL]>>%out%\r
166 echo    base folder = %base%>>%out%\r
167 echo 1. Select the Test (current test = ALL)>>%out%\r
168 echo 2. Do ALL Test>>%out%\r
169 echo 3. ^| Build the binary>>%out%\r
170 echo 4. ^| Setup the test>>%out%\r
171 echo 5. ^| Do the unit test on Debugger>>%out%\r
172 echo 6. ^| Check the result>>%out%\r
173 echo 7. ^| Clean>>%out%\r
174 echo 8. Change the Debug Mode (debug script=False, target=False)>>%out%\r
175 echo 88.Open Fail Folder>>%out%\r
176 echo 89.Next Fail>>%out%\r
177 echo 9. Quit>>%out%\r
178 echo Select number^>2>>%out%\r
179 echo -------------------------------------------------------->>%out%\r
180 echo Test Start : T_SkipToSection.vbs>>%out%\r
181 echo ^<Section num='1'/^>>>%out%\r
182 echo ^<Section num='2'/^>>>%out%\r
183 echo ==========================================================>>%out%\r
184 echo ((( [T_SkipToSection\T_SkipToSection.vbs] - test_build )))>>%out%\r
185 echo Pass.>>%out%\r
186 echo ^<Section num='3'/^>>>%out%\r
187 echo ==========================================================>>%out%\r
188 echo ((( [T_SkipToSection\T_SkipToSection.vbs] - test_setup )))>>%out%\r
189 echo Pass.>>%out%\r
190 echo ^<Section num='4'/^>>>%out%\r
191 echo ==========================================================>>%out%\r
192 echo ((( [T_SkipToSection\T_SkipToSection.vbs] - test_start )))>>%out%\r
193 echo Pass.>>%out%\r
194 echo ^<Section num='5'/^>>>%out%\r
195 echo ==========================================================>>%out%\r
196 echo ((( [T_SkipToSection\T_SkipToSection.vbs] - test_check )))>>%out%\r
197 echo Pass.>>%out%\r
198 echo ^<Section num='6'/^>>>%out%\r
199 echo ==========================================================>>%out%\r
200 echo ((( [T_SkipToSection\T_SkipToSection.vbs] - test_clean )))>>%out%\r
201 echo Pass.>>%out%\r
202 echo [FAIL] [ERROR](1) SkipToSection \82ð\83J\83b\83g\82µ\82Ä\82­\82¾\82³\82¢\81B>>%out%\r
203 echo ==========================================================>>%out%\r
204 echo Test Finish (Pass=5, Manual=0, Skip=0, Fail=1)>>%out%\r
205 echo.>>%out%\r
206 echo -------------------------------------------------------->>%out%\r
207 echo TestPrompt.vbs [ALL]>>%out%\r
208 echo    base folder = %base%>>%out%\r
209 echo 1. Select the Test (current test = ALL)>>%out%\r
210 echo 2. Do ALL Test>>%out%\r
211 echo 3. ^| Build the binary>>%out%\r
212 echo 4. ^| Setup the test>>%out%\r
213 echo 5. ^| Do the unit test on Debugger>>%out%\r
214 echo 6. ^| Check the result>>%out%\r
215 echo 7. ^| Clean>>%out%\r
216 echo 8. Change the Debug Mode (debug script=False, target=False)>>%out%\r
217 echo 88.Open Fail Folder>>%out%\r
218 echo 89.Next Fail>>%out%\r
219 echo 9. Quit>>%out%\r
220 echo Select number^>9>>%out%\r
221 echo -------------------------------------------------------->>%out%\r
222 \r
223 \r
224 set out=T_SkipToSection_Local_4_ans.txt\r
225 if exist %out% del %out%\r
226 echo ^>SetWritableMode  F_ErrIfWarn>>%out%\r
227 echo TestPrompt.vbs [T_SkipToSection]>>%out%\r
228 echo    test vbs = T_SkipToSection.vbs>>%out%\r
229 echo    base folder = %base%>>%out%\r
230 echo 1. Select the Test (current test = T_SkipToSection)>>%out%\r
231 echo 2. Do ALL Test>>%out%\r
232 echo 3. ^| Build the binary>>%out%\r
233 echo 4. ^| Setup the test>>%out%\r
234 echo 5. ^| Do the unit test on Debugger>>%out%\r
235 echo 6. ^| Check the result>>%out%\r
236 echo 7. ^| Clean>>%out%\r
237 echo 8. Change the Debug Mode (debug script=False, target=False)>>%out%\r
238 echo 88.Open Fail Folder>>%out%\r
239 echo 89.Next Fail>>%out%\r
240 echo 9. Quit>>%out%\r
241 echo Select number^>2>>%out%\r
242 echo -------------------------------------------------------->>%out%\r
243 echo Test Start : T_SkipToSection.vbs>>%out%\r
244 echo ^<Section num='4'/^>>>%out%\r
245 echo ==========================================================>>%out%\r
246 echo ((( [T_SkipToSection\T_SkipToSection.vbs] - test_start )))>>%out%\r
247 echo Pass.>>%out%\r
248 echo ^<Section num='5'/^>>>%out%\r
249 echo ==========================================================>>%out%\r
250 echo ((( [T_SkipToSection\T_SkipToSection.vbs] - test_check )))>>%out%\r
251 echo Pass.>>%out%\r
252 echo ^<Section num='6'/^>>>%out%\r
253 echo ==========================================================>>%out%\r
254 echo ((( [T_SkipToSection\T_SkipToSection.vbs] - test_clean )))>>%out%\r
255 echo Pass.>>%out%\r
256 echo [FAIL] [ERROR](1) SkipToSection \82ð\83J\83b\83g\82µ\82Ä\82­\82¾\82³\82¢\81B>>%out%\r
257 echo ==========================================================>>%out%\r
258 echo Test Finish (Pass=3, Manual=0, Skip=0, Fail=1)>>%out%\r
259 echo.>>%out%\r
260 echo -------------------------------------------------------->>%out%\r
261 echo TestPrompt.vbs [T_SkipToSection]>>%out%\r
262 echo    test vbs = T_SkipToSection.vbs>>%out%\r
263 echo    base folder = %base%>>%out%\r
264 echo 1. Select the Test (current test = T_SkipToSection)>>%out%\r
265 echo 2. Do ALL Test>>%out%\r
266 echo 3. ^| Build the binary>>%out%\r
267 echo 4. ^| Setup the test>>%out%\r
268 echo 5. ^| Do the unit test on Debugger>>%out%\r
269 echo 6. ^| Check the result>>%out%\r
270 echo 7. ^| Clean>>%out%\r
271 echo 8. Change the Debug Mode (debug script=False, target=False)>>%out%\r
272 echo 88.Open Fail Folder>>%out%\r
273 echo 89.Next Fail>>%out%\r
274 echo 9. Quit>>%out%\r
275 echo Select number^>9>>%out%\r
276 echo -------------------------------------------------------->>%out%\r
277 \r
278 \r
279 \r
280 set out=T_SkipToSection_ALL_4_ans.txt\r
281 if exist %out% del %out%\r
282 echo ^>SetWritableMode  F_ErrIfWarn>>%out%\r
283 echo TestPrompt.vbs [T_SkipToSection]>>%out%\r
284 echo    test vbs = T_SkipToSection.vbs>>%out%\r
285 echo    base folder = %base%>>%out%\r
286 echo 1. Select the Test (current test = T_SkipToSection)>>%out%\r
287 echo 2. Do ALL Test>>%out%\r
288 echo 3. ^| Build the binary>>%out%\r
289 echo 4. ^| Setup the test>>%out%\r
290 echo 5. ^| Do the unit test on Debugger>>%out%\r
291 echo 6. ^| Check the result>>%out%\r
292 echo 7. ^| Clean>>%out%\r
293 echo 8. Change the Debug Mode (debug script=False, target=False)>>%out%\r
294 echo 88.Open Fail Folder>>%out%\r
295 echo 89.Next Fail>>%out%\r
296 echo 9. Quit>>%out%\r
297 echo Select number^>1>>%out%\r
298 echo -------------------------------------------------------->>%out%\r
299 echo Test symbol list:>>%out%\r
300 echo   0) ALL (pre-defined)>>%out%\r
301 echo   1) T_SkipToSection>>%out%\r
302 echo Input test number or symbol or "ALL"^>0>>%out%\r
303 echo -------------------------------------------------------->>%out%\r
304 echo TestPrompt.vbs [ALL]>>%out%\r
305 echo    base folder = %base%>>%out%\r
306 echo 1. Select the Test (current test = ALL)>>%out%\r
307 echo 2. Do ALL Test>>%out%\r
308 echo 3. ^| Build the binary>>%out%\r
309 echo 4. ^| Setup the test>>%out%\r
310 echo 5. ^| Do the unit test on Debugger>>%out%\r
311 echo 6. ^| Check the result>>%out%\r
312 echo 7. ^| Clean>>%out%\r
313 echo 8. Change the Debug Mode (debug script=False, target=False)>>%out%\r
314 echo 88.Open Fail Folder>>%out%\r
315 echo 89.Next Fail>>%out%\r
316 echo 9. Quit>>%out%\r
317 echo Select number^>2>>%out%\r
318 echo -------------------------------------------------------->>%out%\r
319 echo Test Start : T_SkipToSection.vbs>>%out%\r
320 echo ^<Section num='4'/^>>>%out%\r
321 echo ==========================================================>>%out%\r
322 echo ((( [T_SkipToSection\T_SkipToSection.vbs] - test_start )))>>%out%\r
323 echo Pass.>>%out%\r
324 echo ^<Section num='5'/^>>>%out%\r
325 echo ==========================================================>>%out%\r
326 echo ((( [T_SkipToSection\T_SkipToSection.vbs] - test_check )))>>%out%\r
327 echo Pass.>>%out%\r
328 echo ^<Section num='6'/^>>>%out%\r
329 echo ==========================================================>>%out%\r
330 echo ((( [T_SkipToSection\T_SkipToSection.vbs] - test_clean )))>>%out%\r
331 echo Pass.>>%out%\r
332 echo [FAIL] [ERROR](1) SkipToSection \82ð\83J\83b\83g\82µ\82Ä\82­\82¾\82³\82¢\81B>>%out%\r
333 echo ==========================================================>>%out%\r
334 echo Test Finish (Pass=3, Manual=0, Skip=0, Fail=1)>>%out%\r
335 echo.>>%out%\r
336 echo -------------------------------------------------------->>%out%\r
337 echo TestPrompt.vbs [ALL]>>%out%\r
338 echo    base folder = %base%>>%out%\r
339 echo 1. Select the Test (current test = ALL)>>%out%\r
340 echo 2. Do ALL Test>>%out%\r
341 echo 3. ^| Build the binary>>%out%\r
342 echo 4. ^| Setup the test>>%out%\r
343 echo 5. ^| Do the unit test on Debugger>>%out%\r
344 echo 6. ^| Check the result>>%out%\r
345 echo 7. ^| Clean>>%out%\r
346 echo 8. Change the Debug Mode (debug script=False, target=False)>>%out%\r
347 echo 88.Open Fail Folder>>%out%\r
348 echo 89.Next Fail>>%out%\r
349 echo 9. Quit>>%out%\r
350 echo Select number^>9>>%out%\r
351 echo -------------------------------------------------------->>%out%\r
352 \r
353 \r
354 set out=T_SkipToSection_Local_Debug_0_ans.txt\r
355 if exist %out% del %out%\r
356 echo ^>cscript.exe "%base%\T_SkipToSection.vbs">>%out%\r
357 echo CurrentDirectory = %base%>>%out%\r
358 echo Arguments(0) = "/SkipTo:0">>%out%\r
359 echo Arguments(1) = "/set_input:2.9.">>%out%\r
360 echo Arguments(2) = "/g_debug:1">>%out%\r
361 echo g_vbslib_path = %base_vbslib%\vbslib300\vbs_inc_300.vbs>>%out%\r
362 echo ^>include setting folders>>%out%\r
363 echo ^>include  "%base_vbslib%\vbslib300\setting_default\TestPrompt_Setting_default.vbs">>%out%\r
364 if exist "%myhome_mem%\prog\vbslib\setting_mem\Mx3_Setting.vbs" echo ^>include  "%myhome_mem%\prog\vbslib\setting_mem\Mx3_Setting.vbs">>%out%\r
365 if exist "%ProgramFiles%\vbslib\%USERNAME%\setting\Mx3_Setting.vbs" echo ^>include  "%ProgramFiles%\vbslib\%USERNAME%\setting\Mx3_Setting.vbs">>%out%\r
366 echo ^>include  "%base_vbslib%\vbslib300\setting\vbs_inc_setting.vbs">>%out%\r
367 echo ^>include libraries by g_IncludePathes in vbs_inc_setting.vbs>>%out%\r
368 echo ^>include  "%base_vbslib%\vbslib300\vbslib.vbs">>%out%\r
369 echo ^>include  "%base_vbslib%\vbslib300\TestScript.vbs">>%out%\r
370 echo ^>include  "%base_vbslib%\vbslib300\TestPrompt.vbs">>%out%\r
371 echo ^>SetWritableMode  F_ErrIfWarn>>%out%\r
372 echo TestPrompt.vbs [T_SkipToSection]>>%out%\r
373 echo    test vbs = T_SkipToSection.vbs>>%out%\r
374 echo    base folder = %base%>>%out%\r
375 echo 1. Select the Test (current test = T_SkipToSection)>>%out%\r
376 echo 2. Do ALL Test>>%out%\r
377 echo 3. ^| Build the binary>>%out%\r
378 echo 4. ^| Setup the test>>%out%\r
379 echo 5. ^| Do the unit test on Debugger>>%out%\r
380 echo 6. ^| Check the result>>%out%\r
381 echo 7. ^| Clean>>%out%\r
382 echo 8. Change the Debug Mode (debug script=True, target=False)>>%out%\r
383 echo 88.Open Fail Folder>>%out%\r
384 echo 89.Next Fail>>%out%\r
385 echo 9. Quit>>%out%\r
386 echo Select number^>2>>%out%\r
387 echo -------------------------------------------------------->>%out%\r
388 echo Test Start : T_SkipToSection.vbs>>%out%\r
389 echo ^<Section num='1'/^>>>%out%\r
390 echo ==========================================================>>%out%\r
391 echo ^<^<^< [T_SkipToSection\T_SkipToSection.vbs] - test_current ^>^>^>>>%out%\r
392 echo Debug Mode ...>>%out%\r
393 echo ^<Section num='2'/^>>>%out%\r
394 echo ==========================================================>>%out%\r
395 echo ^<^<^< [T_SkipToSection\T_SkipToSection.vbs] - test_build ^>^>^>>>%out%\r
396 echo Debug Mode ...>>%out%\r
397 echo Pass.>>%out%\r
398 echo %base%\T_SkipToSection.vbs(0, 1) %base%\T_SkipToSection.vbs: Pass.>>%out%\r
399 echo.>>%out%\r
400 echo ==========================================================>>%out%\r
401 echo Test Finish (Pass=0, Manual=0, Skip=0, Fail=0)>>%out%\r
402 echo.>>%out%\r
403 echo exit code = 21>>%out%\r
404 echo (but now exit code = 0 with debugger.)>>%out%\r
405 \r
406 \r
407 set out=T_SkipToSection_ALL_Debug_0_ans.txt\r
408 if exist %out% del %out%\r
409 echo ^>cscript.exe "%base%\T_SkipToSection.vbs">>%out%\r
410 echo CurrentDirectory = %base%>>%out%\r
411 echo Arguments(0) = "/SkipTo:0">>%out%\r
412 echo Arguments(1) = "/set_input:1.0.2.9.">>%out%\r
413 echo Arguments(2) = "/g_debug:1">>%out%\r
414 echo g_vbslib_path = %base_vbslib%\vbslib300\vbs_inc_300.vbs>>%out%\r
415 echo ^>include setting folders>>%out%\r
416 echo ^>include  "%base_vbslib%\vbslib300\setting_default\TestPrompt_Setting_default.vbs">>%out%\r
417 if exist "%myhome_mem%\prog\vbslib\setting_mem\Mx3_Setting.vbs" echo ^>include  "%myhome_mem%\prog\vbslib\setting_mem\Mx3_Setting.vbs">>%out%\r
418 if exist "%ProgramFiles%\vbslib\%USERNAME%\setting\Mx3_Setting.vbs" echo ^>include  "%ProgramFiles%\vbslib\%USERNAME%\setting\Mx3_Setting.vbs">>%out%\r
419 echo ^>include  "%base_vbslib%\vbslib300\setting\vbs_inc_setting.vbs">>%out%\r
420 echo ^>include libraries by g_IncludePathes in vbs_inc_setting.vbs>>%out%\r
421 echo ^>include  "%base_vbslib%\vbslib300\vbslib.vbs">>%out%\r
422 echo ^>include  "%base_vbslib%\vbslib300\TestScript.vbs">>%out%\r
423 echo ^>include  "%base_vbslib%\vbslib300\TestPrompt.vbs">>%out%\r
424 echo ^>SetWritableMode  F_ErrIfWarn>>%out%\r
425 echo TestPrompt.vbs [T_SkipToSection]>>%out%\r
426 echo    test vbs = T_SkipToSection.vbs>>%out%\r
427 echo    base folder = %base%>>%out%\r
428 echo 1. Select the Test (current test = T_SkipToSection)>>%out%\r
429 echo 2. Do ALL Test>>%out%\r
430 echo 3. ^| Build the binary>>%out%\r
431 echo 4. ^| Setup the test>>%out%\r
432 echo 5. ^| Do the unit test on Debugger>>%out%\r
433 echo 6. ^| Check the result>>%out%\r
434 echo 7. ^| Clean>>%out%\r
435 echo 8. Change the Debug Mode (debug script=True, target=False)>>%out%\r
436 echo 88.Open Fail Folder>>%out%\r
437 echo 89.Next Fail>>%out%\r
438 echo 9. Quit>>%out%\r
439 echo Select number^>1>>%out%\r
440 echo -------------------------------------------------------->>%out%\r
441 echo Test symbol list:>>%out%\r
442 echo   0) ALL (pre-defined)>>%out%\r
443 echo   1) T_SkipToSection>>%out%\r
444 echo Input test number or symbol or "ALL"^>0>>%out%\r
445 echo -------------------------------------------------------->>%out%\r
446 echo TestPrompt.vbs [ALL]>>%out%\r
447 echo    base folder = %base%>>%out%\r
448 echo 1. Select the Test (current test = ALL)>>%out%\r
449 echo 2. Do ALL Test>>%out%\r
450 echo 3. ^| Build the binary>>%out%\r
451 echo 4. ^| Setup the test>>%out%\r
452 echo 5. ^| Do the unit test on Debugger>>%out%\r
453 echo 6. ^| Check the result>>%out%\r
454 echo 7. ^| Clean>>%out%\r
455 echo 8. Change the Debug Mode (debug script=True, target=False)>>%out%\r
456 echo 88.Open Fail Folder>>%out%\r
457 echo 89.Next Fail>>%out%\r
458 echo 9. Quit>>%out%\r
459 echo Select number^>2>>%out%\r
460 echo -------------------------------------------------------->>%out%\r
461 echo Test Start : T_SkipToSection.vbs>>%out%\r
462 echo ^<Section num='1'/^>>>%out%\r
463 echo ==========================================================>>%out%\r
464 echo ^<^<^< [T_SkipToSection\T_SkipToSection.vbs] - test_current ^>^>^>>>%out%\r
465 echo Debug Mode ...>>%out%\r
466 echo ^<Section num='2'/^>>>%out%\r
467 echo ==========================================================>>%out%\r
468 echo ^<^<^< [T_SkipToSection\T_SkipToSection.vbs] - test_build ^>^>^>>>%out%\r
469 echo Debug Mode ...>>%out%\r
470 echo Pass.>>%out%\r
471 echo %base%\T_SkipToSection.vbs(0, 1) %base%\T_SkipToSection.vbs: Pass.>>%out%\r
472 echo.>>%out%\r
473 echo ==========================================================>>%out%\r
474 echo Test Finish (Pass=0, Manual=0, Skip=0, Fail=0)>>%out%\r
475 echo.>>%out%\r
476 echo exit code = 21>>%out%\r
477 echo (but now exit code = 0 with debugger.)>>%out%\r
478 \r
479 \r
480 set out=\r
481 set base=\r
482  \r