+ 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:
+ type tmp
+
+ REM hack to understand if the tests succeeded or not
+ 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.