[mapguide-commits] r9674 - sandbox/jng/catch2/Server/src/UnitTesting

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed Jul 15 06:45:54 PDT 2020


Author: jng
Date: 2020-07-15 06:45:54 -0700 (Wed, 15 Jul 2020)
New Revision: 9674

Modified:
   sandbox/jng/catch2/Server/src/UnitTesting/TestGeometry.cpp
Log:
More #ifdef-ing

Modified: sandbox/jng/catch2/Server/src/UnitTesting/TestGeometry.cpp
===================================================================
--- sandbox/jng/catch2/Server/src/UnitTesting/TestGeometry.cpp	2020-07-15 13:43:30 UTC (rev 9673)
+++ sandbox/jng/catch2/Server/src/UnitTesting/TestGeometry.cpp	2020-07-15 13:45:54 UTC (rev 9674)
@@ -1163,7 +1163,7 @@
         found = readerWriter.Write(geom);
         REQUIRE(CheckGeometry(found, base));
 #else
-    #pragma message("WARNING: This could pass or fail depending on what version of GEOS we're linking against on linux")
+    #pragma message("WARNING: This particular assertion could pass or fail depending on what version of GEOS we're linking against on linux. We're skipping this for now")
 #endif
 
         //TEST 11
@@ -1171,10 +1171,14 @@
         geom = multiCurveString->Intersection(multiPolygon);
         REQUIRE(geom.p == nullptr);
 
+#ifdef _WIN32
         //TEST 12
         Ptr<MgMultiCurvePolygon> multiCurvePolygon = CreateMultiCurvePolygon(3, 0.0);
         geom = multiCurvePolygon->Intersection(curvePolygon);
         REQUIRE(geom.p == nullptr);
+#else
+    #pragma message("WARNING: This particular assertion could pass or fail depending on what version of GEOS we're linking against on linux. We're skipping this for now")
+#endif
     }
     catch (MgException* e)
     {



More information about the mapguide-commits mailing list