X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=_src%2FTestByFCBatAuto%2FTestScript%2Ftest%2FTestsClass%2FT_ALL_4_setup.bat;h=4c7d18a7a13f6fa74c8707d7c16ca725766a7204;hb=8cd319a3714156b275c5e3809401dfccfa472e29;hp=ab199ce1b86d18fb9154964f0c0e2be4e17d7e53;hpb=96594a1f7f4a7fcb1ef2b3641e65c63a0a98635c;p=vbslib%2Fmain.git diff --git a/_src/TestByFCBatAuto/TestScript/test/TestsClass/T_ALL_4_setup.bat b/_src/TestByFCBatAuto/TestScript/test/TestsClass/T_ALL_4_setup.bat index ab199ce..4c7d18a 100644 --- a/_src/TestByFCBatAuto/TestScript/test/TestsClass/T_ALL_4_setup.bat +++ b/_src/TestByFCBatAuto/TestScript/test/TestsClass/T_ALL_4_setup.bat @@ -1,17 +1,12 @@ echo off set base=%cd% -set out=T_UnitTest_NotFound_ans.txt -if exist %out% del %out% -echo %base%\T_UnitTest_NotFound.vbs(0, 1) Microsoft VBScript ŽÀsŽžƒGƒ‰[: ƒtƒ@ƒCƒ‹‚ªŒ©‚‚©‚è‚Ü‚¹‚ñ T_Sample1\T_ALL_XXX.vbs>>%out% -echo.>>%out% - set out=T_UnitTest_ans.txt if exist %out% del %out% echo Current = ALL>>%out% echo Test Start : T_UnitTest.vbs>>%out% echo ==========================================================>>%out% -echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_build ^>^>^>>>%out% +echo ((( [T_Sample1\_target_Test.vbs] - test_build )))>>%out% echo T_Sample1 - test_build Sub1>>%out% echo T_Sample1 - test_build Sub2>>%out% echo Pass.>>%out% @@ -19,34 +14,40 @@ echo ==========================================================>>%out% echo Test Finish (Pass=1, Manual=0, Skip=0, Fail=0)>>%out% echo.>>%out% echo Test Start : T_UnitTest.vbs>>%out% +echo ^
>>%out% +echo ^
>>%out% echo ==========================================================>>%out% -echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_build ^>^>^>>>%out% +echo ((( [T_Sample1\_target_Test.vbs] - test_build )))>>%out% echo T_Sample1 - test_build Sub1>>%out% echo T_Sample1 - test_build Sub2>>%out% echo Pass.>>%out% +echo ^
>>%out% echo ==========================================================>>%out% -echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_setup ^>^>^>>>%out% +echo ((( [T_Sample1\_target_Test.vbs] - test_setup )))>>%out% echo T_Sample1 - test_setup Sub1>>%out% echo T_Sample1 - test_setup Sub2>>%out% echo Pass.>>%out% +echo ^
>>%out% echo ==========================================================>>%out% -echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_start ^>^>^>>>%out% +echo ((( [T_Sample1\_target_Test.vbs] - test_start )))>>%out% echo T_Sample1 - test_start Sub1>>%out% echo T_Sample1 - test_start Sub2>>%out% -echo [Fail] No result - Runtime ERROR in the function of "test_start" in "_target_Test.vbs".>>%out% -echo in "%base%\T_Sample1\_target_Test.vbs">>%out% +echo [FAIL] Test is not Pass>>%out% +echo in "test_start" function in "%base%\T_Sample1\_target_Test.vbs">>%out% +echo ^
>>%out% echo ==========================================================>>%out% -echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_check ^>^>^>>>%out% +echo ((( [T_Sample1\_target_Test.vbs] - test_check )))>>%out% echo T_Sample1 - test_check Sub1>>%out% echo T_Sample1 - test_check Sub2>>%out% -echo [Fail] Fail the Test - Runtime ERROR in the function of "test_check" in "T_Sample1\_target_Test.vbs".>>%out% -echo in "%base%\T_Sample1\_target_Test.vbs">>%out% +echo [FAIL] Fail the Test>>%out% +echo in "test_check" function in "%base%\T_Sample1\_target_Test.vbs">>%out% +echo ^
>>%out% echo ==========================================================>>%out% -echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_clean ^>^>^>>>%out% +echo ((( [T_Sample1\_target_Test.vbs] - test_clean )))>>%out% echo T_Sample1 - test_clean Sub1>>%out% echo T_Sample1 - test_clean Sub2>>%out% -echo [Skip] Skip the Test - Runtime ERROR in the function of "test_clean" in "T_Sample1\_target_Test.vbs".>>%out% -echo in "%base%\T_Sample1\_target_Test.vbs">>%out% +echo [SKIP] Skip the Test>>%out% +echo in "test_clean" function in "%base%\T_Sample1\_target_Test.vbs">>%out% echo ==========================================================>>%out% echo Test Finish (Pass=2, Manual=0, Skip=1, Fail=2)>>%out% echo.>>%out% @@ -54,36 +55,42 @@ echo.>>%out% echo Current = Sub1>>%out% echo Test Start : T_UnitTest.vbs>>%out% echo ==========================================================>>%out% -echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_build ^>^>^>>>%out% +echo ((( [T_Sample1\_target_Test.vbs] - test_build )))>>%out% echo T_Sample1 - test_build Sub1>>%out% echo Pass.>>%out% echo ==========================================================>>%out% echo Test Finish (Pass=1, Manual=0, Skip=0, Fail=0)>>%out% echo.>>%out% echo Test Start : T_UnitTest.vbs>>%out% +echo ^
>>%out% +echo ^
>>%out% echo ==========================================================>>%out% -echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_build ^>^>^>>>%out% +echo ((( [T_Sample1\_target_Test.vbs] - test_build )))>>%out% echo T_Sample1 - test_build Sub1>>%out% echo Pass.>>%out% +echo ^
>>%out% echo ==========================================================>>%out% -echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_setup ^>^>^>>>%out% +echo ((( [T_Sample1\_target_Test.vbs] - test_setup )))>>%out% echo T_Sample1 - test_setup Sub1>>%out% echo Pass.>>%out% +echo ^
>>%out% echo ==========================================================>>%out% -echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_start ^>^>^>>>%out% +echo ((( [T_Sample1\_target_Test.vbs] - test_start )))>>%out% echo T_Sample1 - test_start Sub1>>%out% -echo [Fail] No result - Runtime ERROR in the function of "test_start" in "_target_Test.vbs".>>%out% -echo in "%base%\T_Sample1\_target_Test.vbs">>%out% +echo [FAIL] Test is not Pass>>%out% +echo in "test_start" function in "%base%\T_Sample1\_target_Test.vbs">>%out% +echo ^
>>%out% echo ==========================================================>>%out% -echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_check ^>^>^>>>%out% +echo ((( [T_Sample1\_target_Test.vbs] - test_check )))>>%out% echo T_Sample1 - test_check Sub1>>%out% -echo [Fail] Fail the Test - Runtime ERROR in the function of "test_check" in "T_Sample1\_target_Test.vbs".>>%out% -echo in "%base%\T_Sample1\_target_Test.vbs">>%out% +echo [FAIL] Fail the Test>>%out% +echo in "test_check" function in "%base%\T_Sample1\_target_Test.vbs">>%out% +echo ^
>>%out% echo ==========================================================>>%out% -echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_clean ^>^>^>>>%out% +echo ((( [T_Sample1\_target_Test.vbs] - test_clean )))>>%out% echo T_Sample1 - test_clean Sub1>>%out% -echo [Skip] Skip the Test - Runtime ERROR in the function of "test_clean" in "T_Sample1\_target_Test.vbs".>>%out% -echo in "%base%\T_Sample1\_target_Test.vbs">>%out% +echo [SKIP] Skip the Test>>%out% +echo in "test_clean" function in "%base%\T_Sample1\_target_Test.vbs">>%out% echo ==========================================================>>%out% echo Test Finish (Pass=2, Manual=0, Skip=1, Fail=2)>>%out% echo.>>%out% @@ -92,80 +99,98 @@ set out=T_AllAuto_ans.txt if exist %out% del %out% echo Current = ALL>>%out% echo Test Start : T_AllAuto.vbs>>%out% +echo ^
>>%out% +echo ^
>>%out% +echo ^
>>%out% +echo ^
>>%out% echo ==========================================================>>%out% -echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_build ^>^>^>>>%out% +echo ((( [T_Sample1\_target_Test.vbs] - test_build )))>>%out% echo T_Sample1 - test_build Sub1>>%out% echo T_Sample1 - test_build Sub2>>%out% echo Pass.>>%out% +echo ^
>>%out% echo ==========================================================>>%out% -echo ^<^<^< [T_Sample2\_target_Test.vbs] - test_build ^>^>^>>>%out% +echo ((( [T_Sample2\_target_Test.vbs] - test_build )))>>%out% echo T_Sample2 - test_build>>%out% echo Pass.>>%out% +echo ^
>>%out% echo ==========================================================>>%out% -echo ^<^<^< [T_Sample2A\_target_Test.vbs] - test_build ^>^>^>>>%out% +echo ((( [T_Sample2A\_target_Test.vbs] - test_build )))>>%out% echo T_Sample2A - test_build>>%out% echo Pass.>>%out% +echo ^
>>%out% echo ==========================================================>>%out% -echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_setup ^>^>^>>>%out% +echo ((( [T_Sample1\_target_Test.vbs] - test_setup )))>>%out% echo T_Sample1 - test_setup Sub1>>%out% echo T_Sample1 - test_setup Sub2>>%out% echo Pass.>>%out% +echo ^
>>%out% echo ==========================================================>>%out% -echo ^<^<^< [T_Sample2\_target_Test.vbs] - test_setup ^>^>^>>>%out% +echo ((( [T_Sample2\_target_Test.vbs] - test_setup )))>>%out% echo T_Sample2 - test_setup>>%out% echo Pass.>>%out% +echo ^
>>%out% echo ==========================================================>>%out% -echo ^<^<^< [T_Sample2A\_target_Test.vbs] - test_setup ^>^>^>>>%out% +echo ((( [T_Sample2A\_target_Test.vbs] - test_setup )))>>%out% echo T_Sample2A - test_setup>>%out% echo Pass.>>%out% +echo ^
>>%out% echo ==========================================================>>%out% -echo ^<^<^< [T_Sample2A\_target_Test.vbs] - test_start ^>^>^>>>%out% -echo T_Sample2A - test_start>>%out% -echo [Fail] No result - Runtime ERROR in the function of "test_start" in "_target_Test.vbs".>>%out% -echo in "%base%\T_Sample2\T_Sample2A\_target_Test.vbs">>%out% +echo ((( [T_Sample1\_target_Test.vbs] - test_start )))>>%out% +echo T_Sample1 - test_start Sub1>>%out% +echo T_Sample1 - test_start Sub2>>%out% +echo [FAIL] Test is not Pass>>%out% +echo in "test_start" function in "%base%\T_Sample1\_target_Test.vbs">>%out% +echo ^
>>%out% echo ==========================================================>>%out% -echo ^<^<^< [T_Sample2\_target_Test.vbs] - test_start ^>^>^>>>%out% +echo ((( [T_Sample2\_target_Test.vbs] - test_start )))>>%out% echo T_Sample2 - test_start>>%out% -echo [Fail] No result - Runtime ERROR in the function of "test_start" in "_target_Test.vbs".>>%out% -echo in "%base%\T_Sample2\_target_Test.vbs">>%out% +echo [FAIL] Test is not Pass>>%out% +echo in "test_start" function in "%base%\T_Sample2\_target_Test.vbs">>%out% +echo ^
>>%out% echo ==========================================================>>%out% -echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_start ^>^>^>>>%out% -echo T_Sample1 - test_start Sub1>>%out% -echo T_Sample1 - test_start Sub2>>%out% -echo [Fail] No result - Runtime ERROR in the function of "test_start" in "_target_Test.vbs".>>%out% -echo in "%base%\T_Sample1\_target_Test.vbs">>%out% +echo ((( [T_Sample2A\_target_Test.vbs] - test_start )))>>%out% +echo T_Sample2A - test_start>>%out% +echo [FAIL] Test is not Pass>>%out% +echo in "test_start" function in "%base%\T_Sample2\T_Sample2A\_target_Test.vbs">>%out% +echo ^
>>%out% echo ==========================================================>>%out% -echo ^<^<^< [T_Sample2A\_target_Test.vbs] - test_check ^>^>^>>>%out% +echo ((( [T_Sample2A\_target_Test.vbs] - test_check )))>>%out% echo T_Sample2A - test_check>>%out% -echo [Fail] Fail the Test - Runtime ERROR in the function of "test_check" in "T_Sample2\T_Sample2A\_target_Test.vbs".>>%out% -echo in "%base%\T_Sample2\T_Sample2A\_target_Test.vbs">>%out% +echo [FAIL] Fail the Test>>%out% +echo in "test_check" function in "%base%\T_Sample2\T_Sample2A\_target_Test.vbs">>%out% +echo ^
>>%out% echo ==========================================================>>%out% -echo ^<^<^< [T_Sample2\_target_Test.vbs] - test_check ^>^>^>>>%out% +echo ((( [T_Sample2\_target_Test.vbs] - test_check )))>>%out% echo T_Sample2 - test_check>>%out% -echo [Fail] Fail the Test - Runtime ERROR in the function of "test_check" in "T_Sample2\_target_Test.vbs".>>%out% -echo in "%base%\T_Sample2\_target_Test.vbs">>%out% +echo [FAIL] Fail the Test>>%out% +echo in "test_check" function in "%base%\T_Sample2\_target_Test.vbs">>%out% +echo ^
>>%out% echo ==========================================================>>%out% -echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_check ^>^>^>>>%out% +echo ((( [T_Sample1\_target_Test.vbs] - test_check )))>>%out% echo T_Sample1 - test_check Sub1>>%out% echo T_Sample1 - test_check Sub2>>%out% -echo [Fail] Fail the Test - Runtime ERROR in the function of "test_check" in "T_Sample1\_target_Test.vbs".>>%out% -echo in "%base%\T_Sample1\_target_Test.vbs">>%out% +echo [FAIL] Fail the Test>>%out% +echo in "test_check" function in "%base%\T_Sample1\_target_Test.vbs">>%out% +echo ^
>>%out% echo ==========================================================>>%out% -echo ^<^<^< [T_Sample2A\_target_Test.vbs] - test_clean ^>^>^>>>%out% +echo ((( [T_Sample2A\_target_Test.vbs] - test_clean )))>>%out% echo T_Sample2A - test_clean>>%out% -echo [Skip] Skip the Test - Runtime ERROR in the function of "test_clean" in "T_Sample2\T_Sample2A\_target_Test.vbs".>>%out% -echo in "%base%\T_Sample2\T_Sample2A\_target_Test.vbs">>%out% +echo [SKIP] Skip the Test>>%out% +echo in "test_clean" function in "%base%\T_Sample2\T_Sample2A\_target_Test.vbs">>%out% +echo ^
>>%out% echo ==========================================================>>%out% -echo ^<^<^< [T_Sample2\_target_Test.vbs] - test_clean ^>^>^>>>%out% +echo ((( [T_Sample2\_target_Test.vbs] - test_clean )))>>%out% echo T_Sample2 - test_clean>>%out% -echo [Skip] Skip the Test - Runtime ERROR in the function of "test_clean" in "T_Sample2\_target_Test.vbs".>>%out% -echo in "%base%\T_Sample2\_target_Test.vbs">>%out% +echo [SKIP] Skip the Test>>%out% +echo in "test_clean" function in "%base%\T_Sample2\_target_Test.vbs">>%out% +echo ^
>>%out% echo ==========================================================>>%out% -echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_clean ^>^>^>>>%out% +echo ((( [T_Sample1\_target_Test.vbs] - test_clean )))>>%out% echo T_Sample1 - test_clean Sub1>>%out% echo T_Sample1 - test_clean Sub2>>%out% -echo [Skip] Skip the Test - Runtime ERROR in the function of "test_clean" in "T_Sample1\_target_Test.vbs".>>%out% -echo in "%base%\T_Sample1\_target_Test.vbs">>%out% +echo [SKIP] Skip the Test>>%out% +echo in "test_clean" function in "%base%\T_Sample1\_target_Test.vbs">>%out% echo ==========================================================>>%out% echo Test Finish (Pass=6, Manual=0, Skip=3, Fail=6)>>%out% echo.>>%out%