use /b option with the EXIT command
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
1789c1c602
commit
92de7654e9
@ -19,10 +19,10 @@ for /d %%x in (*) do @(
|
||||
)
|
||||
|
||||
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)
|
||||
exit 0
|
||||
exit /b 0
|
||||
|
Loading…
Reference in New Issue
Block a user