From b87b59106879188ffc684a41a9de638ac5fd02bf Mon Sep 17 00:00:00 2001 From: Kristian Evers Date: Wed, 20 Jun 2018 15:11:50 +0200 Subject: Add test for proj_errno_string() --- test/unit/CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test/unit/CMakeLists.txt') diff --git a/test/unit/CMakeLists.txt b/test/unit/CMakeLists.txt index a22665f8..d6f6b068 100644 --- a/test/unit/CMakeLists.txt +++ b/test/unit/CMakeLists.txt @@ -58,6 +58,15 @@ target_link_libraries(proj_test_unit ${PROJ_LIBRARIES}) add_test(NAME proj_test_unit COMMAND proj_test_unit) +add_executable(proj_errno_string_test + main.cpp + proj_errno_string_test.cpp) +target_link_libraries(proj_errno_string_test + gtest + ${PROJ_LIBRARIES}) +add_test(NAME proj_errno_string_test COMMAND proj_errno_string_test) + + if (MSVC AND BUILD_LIBPROJ_SHARED) # ph_phi2_test not compatible of a .dll build else() -- cgit v1.2.3