[mapguide-commits] r8532 - trunk/MgDev

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed Feb 4 07:21:42 PST 2015


Author: jng
Date: 2015-02-04 07:21:42 -0800 (Wed, 04 Feb 2015)
New Revision: 8532

Modified:
   trunk/MgDev/run_tests.bat
Log:
#2533: Move all test logs to a central place (the directory where run_tests.bat is)

Modified: trunk/MgDev/run_tests.bat
===================================================================
--- trunk/MgDev/run_tests.bat	2015-02-04 14:02:07 UTC (rev 8531)
+++ trunk/MgDev/run_tests.bat	2015-02-04 15:21:42 UTC (rev 8532)
@@ -249,6 +249,7 @@
 REM Now run the test suite
 pushd "%CURRENT_DIR%\UnitTest\WebTier\Php"
 php.exe -n -d display_errors=On -d extension_dir="%PHP_EXT_DIR%" -d extension=php_mbstring.dll -d extension=php_curl.dll -d extension=php_MapGuideApi.dll -d extension=php_pdo_sqlite.dll RunTests.php -config "%WEB_ROOT%\webconfig.ini"
+move /Y UnitTests.log "%CURRENT_DIR%\UnitTests_Php.log"
 popd
 if exist "%SERVER_PATH%" (
     echo [test]: Terminating mgserver.exe
@@ -301,6 +302,7 @@
 pushd "%CURRENT_DIR%\UnitTest\WebTier\DotNet_%PLATFORM%"
 MgTestRunner.exe "%WEB_ROOT%\webconfig.ini" "%CS_MAP_PATH%"
 if %ERRORLEVEL% neq 0 echo [test]: .net test runner had one or more test failures. Check log files for more information
+move /Y UnitTests.log "%CURRENT_DIR%\UnitTests_DotNet.log"
 popd
 if exist "%SERVER_PATH%" (
     echo [test]: Terminating mgserver.exe
@@ -338,6 +340,9 @@
 call ant checkwin_external -Dmapguide.dictpath="%CS_MAP_PATH%" -Dbinsrc.web="%WEB_ROOT%\..\Tomcat\bin" -Dmapguide.config.src="%WEB_ROOT%\webconfig.ini"
 if %ERRORLEVEL% neq 0 echo [test]: Java test runner had one or more test failures. Check log files for more information
 popd
+pushd "%CURRENT_DIR%\UnitTest\WebTier\java_dist"
+move /Y unittest.log "%CURRENT_DIR%\UnitTests_Java.log"
+popd
 if exist "%SERVER_PATH%" (
     echo [test]: Terminating mgserver.exe
     REM We're naturally assuming the only mgserver.exe that is running is the one this script started



More information about the mapguide-commits mailing list