[geos-commits] [SCM] GEOS branch master updated. ae73bc45bbad44703ed0532b64ed0c2440a9cf90

git at osgeo.org git at osgeo.org
Tue May 21 08:23:34 PDT 2019


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GEOS".

The branch, master has been updated
       via  ae73bc45bbad44703ed0532b64ed0c2440a9cf90 (commit)
      from  8a99c2f916964a98fe60725ed7c8d0da92a1e79b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ae73bc45bbad44703ed0532b64ed0c2440a9cf90
Author: Daniel Baston <dbaston at gmail.com>
Date:   Tue Dec 4 17:25:19 2018 -0500

    Remove unstable API warnings for tests

diff --git a/tests/bigtest/CMakeLists.txt b/tests/bigtest/CMakeLists.txt
index a809e5c..ebff39f 100644
--- a/tests/bigtest/CMakeLists.txt
+++ b/tests/bigtest/CMakeLists.txt
@@ -11,6 +11,7 @@
 add_executable(test_bug234 bug234.cpp)
 target_link_libraries(test_bug234 PRIVATE geos)
 add_test(NAME test_bug234 COMMAND test_bug234)
+target_compile_definitions(test_bug234 PRIVATE "USE_UNSTABLE_GEOS_CPP_API")
 
 add_executable(test_sweep_line_speed)
 target_sources(test_sweep_line_speed
@@ -18,3 +19,4 @@ target_sources(test_sweep_line_speed
     TestSweepLineSpeed.cpp
     GeometryTestFactory.cpp)
 target_link_libraries(test_sweep_line_speed PRIVATE geos)
+target_compile_definitions(test_sweep_line_speed PRIVATE "USE_UNSTABLE_GEOS_CPP_API")
diff --git a/tests/perf/CMakeLists.txt b/tests/perf/CMakeLists.txt
index 11dc524..378f744 100644
--- a/tests/perf/CMakeLists.txt
+++ b/tests/perf/CMakeLists.txt
@@ -11,6 +11,7 @@
 add_executable(test_perf_class_sizes ClassSizes.cpp)
 target_link_libraries(test_perf_class_sizes PRIVATE geos)
 add_test(NAME test_perf_class_sizes COMMAND test_perf_class_sizes)
+target_compile_definitions(test_perf_class_sizes PRIVATE "USE_UNSTABLE_GEOS_CPP_API")
 
 add_subdirectory(operation)
 add_subdirectory(capi)
diff --git a/tests/perf/capi/CMakeLists.txt b/tests/perf/capi/CMakeLists.txt
index 3b85d89..014a4cc 100644
--- a/tests/perf/capi/CMakeLists.txt
+++ b/tests/perf/capi/CMakeLists.txt
@@ -17,3 +17,4 @@ target_include_directories(test_perf_memleak_mp_prep
     $<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/include>)
 target_link_libraries(test_perf_memleak_mp_prep PRIVATE geos_c)
 add_test(NAME test_perf_memleak_mp_prep COMMAND test_perf_memleak_mp_prep)
+target_compile_definitions(test_perf_memleak_mp_prep PRIVATE "USE_UNSTABLE_GEOS_CPP_API")
diff --git a/tests/perf/operation/buffer/CMakeLists.txt b/tests/perf/operation/buffer/CMakeLists.txt
index de937de..b09efe9 100644
--- a/tests/perf/operation/buffer/CMakeLists.txt
+++ b/tests/perf/operation/buffer/CMakeLists.txt
@@ -11,3 +11,4 @@
 add_executable(test_perf_iterated_buffer IteratedBufferStressTest.cpp)
 target_link_libraries(test_perf_iterated_buffer PRIVATE geos)
 add_test(NAME test_perf_iterated_buffer COMMAND test_perf_iterated_buffer)
+target_compile_definitions(test_perf_iterated_buffer PRIVATE "USE_UNSTABLE_GEOS_CPP_API")
diff --git a/tests/perf/operation/predicate/CMakeLists.txt b/tests/perf/operation/predicate/CMakeLists.txt
index 2ce3624..72f7a8a 100644
--- a/tests/perf/operation/predicate/CMakeLists.txt
+++ b/tests/perf/operation/predicate/CMakeLists.txt
@@ -11,3 +11,4 @@
 add_executable(test_perf_rectangle_intersects RectangleIntersectsPerfTest.cpp)
 target_link_libraries(test_perf_rectangle_intersects PRIVATE geos)
 add_test(NAME test_perf_rectangle_intersects COMMAND test_perf_rectangle_intersects)
+target_compile_definitions(test_perf_rectangle_intersects PRIVATE "USE_UNSTABLE_GEOS_CPP_API")
diff --git a/tests/unit/CMakeLists.txt b/tests/unit/CMakeLists.txt
index 307b561..5926cef 100644
--- a/tests/unit/CMakeLists.txt
+++ b/tests/unit/CMakeLists.txt
@@ -17,4 +17,6 @@ target_include_directories(test_geos_unit
   PRIVATE
     $<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}>)
 
+target_compile_definitions(test_geos_unit PRIVATE "USE_UNSTABLE_GEOS_CPP_API")
+
 add_test(NAME test_geos_unit COMMAND test_geos_unit)
diff --git a/tests/xmltester/CMakeLists.txt b/tests/xmltester/CMakeLists.txt
index 9fea5aa..3d41ce2 100644
--- a/tests/xmltester/CMakeLists.txt
+++ b/tests/xmltester/CMakeLists.txt
@@ -11,6 +11,7 @@
 
 add_executable(test_simplewkttester SimpleWKTTester.cpp)
 target_link_libraries(test_simplewkttester PRIVATE geos)
+target_compile_definitions(test_simplewkttester PRIVATE "USE_UNSTABLE_GEOS_CPP_API")
 
 add_executable(test_xmltester)
 target_sources(test_xmltester
@@ -24,6 +25,7 @@ target_link_libraries(test_xmltester PRIVATE geos)
 target_include_directories(test_xmltester
   PRIVATE
     $<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}>/tinyxml)
+target_compile_definitions(test_xmltester PRIVATE "USE_UNSTABLE_GEOS_CPP_API")
 
 file(GLOB_RECURSE _tests ${CMAKE_CURRENT_LIST_DIR}/tests/*.xml CONFIGURE_DEPEND)
 list(FILTER _tests EXCLUDE REGEX failure)

-----------------------------------------------------------------------

Summary of changes:
 tests/bigtest/CMakeLists.txt                  | 2 ++
 tests/perf/CMakeLists.txt                     | 1 +
 tests/perf/capi/CMakeLists.txt                | 1 +
 tests/perf/operation/buffer/CMakeLists.txt    | 1 +
 tests/perf/operation/predicate/CMakeLists.txt | 1 +
 tests/unit/CMakeLists.txt                     | 2 ++
 tests/xmltester/CMakeLists.txt                | 2 ++
 7 files changed, 10 insertions(+)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list