From 8405285c690d53f39951c76fe26201bc24721522 Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Mon, 23 Mar 2009 10:01:13 +0000 Subject: [PATCH] try to remove /B from EXIT commands; prints a "separator" between test.exe and test_gui.exe output git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/runtests.bat | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/tests/runtests.bat b/tests/runtests.bat index 3af08c67a6..9ff4f2b85f 100644 --- a/tests/runtests.bat +++ b/tests/runtests.bat @@ -14,7 +14,16 @@ for /d %%x in (*) do @( if exist %%x\test.exe ( %%x\test.exe if %errorlevel% GEQ 1 set failure=1 + + REM separe the output of the test we just executed from the next one + echo. + echo. + echo ======================================================================== + echo ======================================================================== + echo. + echo. ) + if exist %%x\test_gui.exe ( %%x\test_gui.exe if %errorlevel% GEQ 1 set failure=1 @@ -22,10 +31,10 @@ for /d %%x in (*) do @( ) REM exit with code 1 if any of the test failed -if %failure% EQU 1 exit /b 1 +if %failure% EQU 1 exit 1 REM remove the failure env var: set failure= REM exit with code 0 (all tests passed successfully) -exit /b 0 +exit 0 -- 2.45.2