diff --git a/Examples/Projections/CMakeLists.txt b/Examples/Projections/CMakeLists.txt index 9e80ffdfffafa0d8d92fdd34a3f322281b20254a..f249a3b83ed33695c3d660cee0fd92e42604f48e 100644 --- a/Examples/Projections/CMakeLists.txt +++ b/Examples/Projections/CMakeLists.txt @@ -91,7 +91,7 @@ ADD_TEST(MapProjectionExampleTest ${EXE_TESTS} IF(OTB_DATA_USE_LARGEINPUT) ADD_TEST(VectorDataProjectionExampleTest ${EXE_TESTS} - --compare-binary ${TOL} + --compare-binary ${BASELINE}/vectorDataProjectionExample.shp ${TEMP}/vectorDataProjectionExample.shp VectorDataProjectionExampleTest diff --git a/Examples/Projections/otbProjectionsExamplesTests.cxx b/Examples/Projections/otbProjectionsExamplesTests.cxx index ed3ee0d0c154fb1e7f6888e4168a8c503c355235..abf7d0bc6607024b47f046f43a6e33994734b53c 100644 --- a/Examples/Projections/otbProjectionsExamplesTests.cxx +++ b/Examples/Projections/otbProjectionsExamplesTests.cxx @@ -28,6 +28,7 @@ void RegisterTests() { REGISTER_TEST(OrthoRectificationExampleTest); REGISTER_TEST(MapProjectionExampleTest); + REGISTER_TEST(VectorDataProjectionExampleTest); } #undef main @@ -37,3 +38,7 @@ void RegisterTests() #undef main #define main MapProjectionExampleTest #include "MapProjectionExample.cxx" + +#undef main +#define main VectorDataProjectionExampleTest +#include "VectorDataProjectionExample.cxx"