REM for general info about DOS batch files.
REM Author: Francesco Montorsi
-REM $Id$
rem set the path for running the tests if they use DLL build of wx
for /d %%x in ("..\lib\*_dll") do @set PATH=%%x;%PATH%
for /d %%x in (*) do @(
if exist %%x\test.exe (
+ echo.
+ echo ========================================================================
+ echo Running non-GUI unit test
+ echo ========================================================================
+ echo.
%%x\test.exe -t >tmp
REM show the output of the test in the buildbot log:
REM separe the output of the test we just executed from the next one
echo.
- echo.
echo ========================================================================
+ echo Non-GUI test done
echo ========================================================================
echo.
- echo.
)
if exist %%x\test_gui.exe (
+ echo.
+ echo ========================================================================
+ echo Running GUI unit test
+ echo ========================================================================
+ echo.
%%x\test_gui.exe -t >tmp
REM show the output of the test in the buildbot log:
REM (failure=1 is set if "OK" does not appear in the test output)
type tmp | find "OK" >NUL
if ERRORLEVEL 1 set failure=1
+
+ echo.
+ echo ========================================================================
+ echo GUI test done
+ echo ========================================================================
+ echo.
)
)