[geos-commits] r2906 - trunk/tests/xmltester

svn_geos at osgeo.org svn_geos at osgeo.org
Fri Feb 5 23:07:03 EST 2010


Author: mloskot
Date: 2010-02-05 23:07:02 -0500 (Fri, 05 Feb 2010)
New Revision: 2906

Modified:
   trunk/tests/xmltester/CMakeLists.txt
Log:
Ported list of SAVE_XMLTESTS to CMake configuration of XMLTester (#317) All tests pass on Ubuntu 9.10

Modified: trunk/tests/xmltester/CMakeLists.txt
===================================================================
--- trunk/tests/xmltester/CMakeLists.txt	2010-02-05 21:24:32 UTC (rev 2905)
+++ trunk/tests/xmltester/CMakeLists.txt	2010-02-06 04:07:02 UTC (rev 2906)
@@ -37,10 +37,69 @@
   add_executable(xmltester ${xmltester_SOURCES})
   target_link_libraries(xmltester geos)
 
-  add_test(xmltester 
-    ${CMAKE_CURRENT_BINARY_DIR}/xmltester
-    ${CMAKE_CURRENT_SOURCE_DIR}/tests/TestBigNastyBuffer.xml)
+  set(XMLTESTS_DIR ${CMAKE_CURRENT_SOURCE_DIR}/tests)
+  set(SAVE_XMLTESTS
+    ${XMLTESTS_DIR}/testLeaksBig.xml
+    ${XMLTESTS_DIR}/split.xml
+    ${XMLTESTS_DIR}/hexwkb.xml
+    ${XMLTESTS_DIR}/test.xml
+    ${XMLTESTS_DIR}/linemerge.xml
+    ${XMLTESTS_DIR}/TestIsValid.xml
+    ${XMLTESTS_DIR}/robustness.xml
+    ${XMLTESTS_DIR}/buffer.xml
+    ${XMLTESTS_DIR}/test.xml
+    ${XMLTESTS_DIR}/singlesidedbuffer.xml
+    ${XMLTESTS_DIR}/bug176.xml
+    ${XMLTESTS_DIR}/bug188.xml
+    ${XMLTESTS_DIR}/bug244.xml
+    ${XMLTESTS_DIR}/bug275.xml
+    ${XMLTESTS_DIR}/general/TestBoundary.xml
+    ${XMLTESTS_DIR}/general/TestBuffer.xml
+    ${XMLTESTS_DIR}/general/TestBufferMitredJoin.xml
+    ${XMLTESTS_DIR}/general/TestCentroid.xml
+    ${XMLTESTS_DIR}/general/TestConvexHull.xml
+    ${XMLTESTS_DIR}/general/TestConvexHull-big.xml
+    ${XMLTESTS_DIR}/general/TestFunctionAAPrec.xml
+    ${XMLTESTS_DIR}/general/TestFunctionAA.xml
+    ${XMLTESTS_DIR}/general/TestFunctionLAPrec.xml
+    ${XMLTESTS_DIR}/general/TestFunctionLA.xml
+    ${XMLTESTS_DIR}/general/TestFunctionLLPrec.xml
+    ${XMLTESTS_DIR}/general/TestFunctionLL.xml
+    ${XMLTESTS_DIR}/general/TestFunctionPA.xml
+    ${XMLTESTS_DIR}/general/TestFunctionPLPrec.xml
+    ${XMLTESTS_DIR}/general/TestFunctionPL.xml
+    ${XMLTESTS_DIR}/general/TestFunctionPP.xml
+    ${XMLTESTS_DIR}/general/TestInteriorPoint.xml
+    ${XMLTESTS_DIR}/general/TestRectanglePredicate.xml
+    ${XMLTESTS_DIR}/general/TestRelateAA.xml
+    ${XMLTESTS_DIR}/general/TestRelateLA.xml
+    ${XMLTESTS_DIR}/general/TestRelateLL.xml
+    ${XMLTESTS_DIR}/general/TestRelatePL.xml
+    ${XMLTESTS_DIR}/general/TestRelateAC.xml
+    ${XMLTESTS_DIR}/general/TestRelateLC.xml
+    ${XMLTESTS_DIR}/general/TestRelatePA.xml
+    ${XMLTESTS_DIR}/general/TestRelatePP.xml
+    ${XMLTESTS_DIR}/general/TestSimple.xml
+    ${XMLTESTS_DIR}/general/TestValid.xml
+    ${XMLTESTS_DIR}/general/TestValid2.xml
+    ${XMLTESTS_DIR}/general/TestValid2-big.xml
+    ${XMLTESTS_DIR}/general/TestWithinDistance.xml
+    ${XMLTESTS_DIR}/stmlf/stmlf-cases-20061020.xml
+    ${XMLTESTS_DIR}/stmlf/stmlf-cases-20070119.xml
+    ${XMLTESTS_DIR}/robust/TestRobustOverlayFixed.xml
+    ${XMLTESTS_DIR}/robust/TestRobustRelate.xml
+    ${XMLTESTS_DIR}/fme.xml
+    ${XMLTESTS_DIR}/TestBufferExternal.xml
+    ${XMLTESTS_DIR}/TestBufferExternal2.xml
+    ${XMLTESTS_DIR}/heisenbugs.xml
+    ${XMLTESTS_DIR}/badguy3.xml
+    ${XMLTESTS_DIR}/hole_from_shell.xml
+    ${XMLTESTS_DIR}/hole_red.xml
+    ${XMLTESTS_DIR}/safe/16595.xml
+    ${XMLTESTS_DIR}/safe/16596.xml)
 
+  add_test(xmltester ${CMAKE_CURRENT_BINARY_DIR}/xmltester ${SAVE_XMLTESTS})
+
   set(STATUS_RESULT "ON")
 endif()
 



More information about the geos-commits mailing list