[mapguide-commits] r4771 - sandbox/adsk/2.2gp/Server/src/UnitTesting

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Thu Apr 8 16:43:15 EDT 2010


Author: brucedechant
Date: 2010-04-08 16:43:13 -0400 (Thu, 08 Apr 2010)
New Revision: 4771

Modified:
   sandbox/adsk/2.2gp/Server/src/UnitTesting/TestFeatureService.cpp
Log:
Disabled Feature Service unit test TestCase_GetFeatureProviders on Linux due to it crashing the server on exit for some Linux distributions.


Modified: sandbox/adsk/2.2gp/Server/src/UnitTesting/TestFeatureService.cpp
===================================================================
--- sandbox/adsk/2.2gp/Server/src/UnitTesting/TestFeatureService.cpp	2010-04-08 19:12:59 UTC (rev 4770)
+++ sandbox/adsk/2.2gp/Server/src/UnitTesting/TestFeatureService.cpp	2010-04-08 20:43:13 UTC (rev 4771)
@@ -252,6 +252,7 @@
 ///----------------------------------------------------------------------------
 void TestFeatureService::TestCase_GetFeatureProviders()
 {
+#ifdef _WIN32
     try
     {
         MgServiceManager* serviceManager = MgServiceManager::GetInstance();
@@ -285,6 +286,9 @@
     {
         throw;
     }
+#else
+    ACE_DEBUG((LM_INFO, ACE_TEXT("\nTestFeatureService.TestCase_GetFeatureProviders - Skipped due to crashing the server on exit for some Linux distributions.\n\n")));
+#endif
 }
 
 



More information about the mapguide-commits mailing list