]> git.saurik.com Git - wxWidgets.git/commitdiff
use /b option with the EXIT command
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sat, 21 Mar 2009 13:49:20 +0000 (13:49 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sat, 21 Mar 2009 13:49:20 +0000 (13:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/runtests.bat

index d6c747187e92a45f30fc0491101cb4b01cd60aab..7c537ccacdbf0844d9182520d65426f25a8e0453 100644 (file)
@@ -19,10 +19,10 @@ for /d %%x in (*) do @(
 )
 
 REM exit with code 1 if any of the test failed
 )
 
 REM exit with code 1 if any of the test failed
-if %failure% EQU 1 exit 1
+if %failure% EQU 1 exit /b 1
 
 REM remove the failure env var:
 set failure=
 
 REM exit with code 0 (all tests passed successfully)
 
 REM remove the failure env var:
 set failure=
 
 REM exit with code 0 (all tests passed successfully)
-exit 0
+exit /b 0