]>
git.saurik.com Git - wxWidgets.git/blob - tests/runtests.bat
3 REM Runs wxWidgets CppUnit tests
4 REM This script is used to return the correct return value to the caller
5 REM which is required by Buildbot to recognize failures.
10 for /d
%%x in
(*) do @
(
11 if exist %%x
\test.exe
(
13 if %errorlevel% GEQ
1 set failure
=1
15 if exist %%x
\test_gui.exe
(
17 if %errorlevel% GEQ
1 set failure
=1
21 REM exit with code 1 if any of the test failed
22 if %failure% EQU
1 exit /b
1
24 REM remove the failure env var:
27 REM exit with code 0 (all tests passed successfully)