Add more echo trace statements to runtests.bat script.

Try to make the output a bit more organized.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2013-05-14 11:07:12 +00:00
parent 16983807c5
commit 3717eeaf39

View File

@@ -20,6 +20,11 @@ set failure=0
for /d %%x in (*) do @( for /d %%x in (*) do @(
if exist %%x\test.exe ( if exist %%x\test.exe (
echo.
echo ========================================================================
echo Running non-GUI unit test
echo ========================================================================
echo.
%%x\test.exe -t >tmp %%x\test.exe -t >tmp
REM show the output of the test in the buildbot log: REM show the output of the test in the buildbot log:
@@ -32,14 +37,18 @@ for /d %%x in (*) do @(
REM separe the output of the test we just executed from the next one REM separe the output of the test we just executed from the next one
echo. echo.
echo.
echo ======================================================================== echo ========================================================================
echo Non-GUI test done
echo ======================================================================== echo ========================================================================
echo. echo.
echo.
) )
if exist %%x\test_gui.exe ( if exist %%x\test_gui.exe (
echo.
echo ========================================================================
echo Running GUI unit test
echo ========================================================================
echo.
%%x\test_gui.exe -t >tmp %%x\test_gui.exe -t >tmp
REM show the output of the test in the buildbot log: REM show the output of the test in the buildbot log:
@@ -49,6 +58,12 @@ for /d %%x in (*) do @(
REM (failure=1 is set if "OK" does not appear in the test output) REM (failure=1 is set if "OK" does not appear in the test output)
type tmp | find "OK" >NUL type tmp | find "OK" >NUL
if ERRORLEVEL 1 set failure=1 if ERRORLEVEL 1 set failure=1
echo.
echo ========================================================================
echo GUI test done
echo ========================================================================
echo.
) )
) )