Skip to content
Snippets Groups Projects
Commit a7bb89ff authored by Antoine Regimbeau's avatar Antoine Regimbeau
Browse files

Merge branch 'fix-warning' into 'develop'

Warning and Test fixes

See merge request orfeotoolbox/otb!548
parents 2e4c87da a80ea133
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,14 @@
#include "otbMacro.h"
#include "itkMetaDataObject.h"
#include "otbImageKeywordlist.h"
#if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#include "ossim/ossimTimeUtilities.h"
#pragma GCC diagnostic pop
#else
#include "ossim/ossimTimeUtilities.h"
#endif
//useful constants
#include <otbMath.h>
......
......@@ -25,7 +25,14 @@
#include "otbMacro.h"
#include "itkMetaDataObject.h"
#include "otbImageKeywordlist.h"
#if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#include "ossim/ossimTimeUtilities.h"
#pragma GCC diagnostic pop
#else
#include "ossim/ossimTimeUtilities.h"
#endif
//useful constants
#include <otbMath.h>
......
......@@ -46,7 +46,7 @@ otb_add_test(NAME bfTvConvolutionImageFilter COMMAND otbConvolutionTestDriver
if(ITK_USE_FFTWD)
if(MSVC AND (CMAKE_SIZEOF_VOID_P EQUAL "4"))
message(WARNING "Disable bfTvOverlapSaveConvolutionImageFilter")
message(WARNING "Disable OverlapSaveConvolution tests")
else()
otb_add_test(NAME bfTvOverlapSaveConvolutionImageFilter COMMAND otbConvolutionTestDriver
--compare-image ${EPSILON_7}
......@@ -56,7 +56,6 @@ otb_add_test(NAME bfTvOverlapSaveConvolutionImageFilter COMMAND otbConvolutionTe
${INPUTDATA}/QB_Suburb.png
${TEMP}/bfTvOverlapSaveConvolutionImageFilter.tif
)
endif()
otb_add_test(NAME bfTvCompareOverlapSaveAndClassicalConvolutionWithGaborFilter COMMAND otbConvolutionTestDriver
--compare-image ${EPSILON_7}
......@@ -74,6 +73,8 @@ otb_add_test(NAME bfTvCompareOverlapSaveAndClassicalConvolutionWithGaborFilter C
)
endif()
endif()
otb_add_test(NAME bfTvGaborFilterGenerator COMMAND otbConvolutionTestDriver
--compare-image ${EPSILON_7}
${BASELINE}/bfGaborFilterGeneratorTest.tif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment