Skip to content
Snippets Groups Projects
Commit 8919a3bc authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

BUG: deactivate two convolution tests if ITK_USE_FFTWD is not set

parent 556ca861
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,7 @@ otb_add_test(NAME bfTuConvolutionImageFilterNew COMMAND otbConvolutionTestDriver
otb_add_test(NAME bfTuOverlapSaveConvolutionImageFilterNew COMMAND otbConvolutionTestDriver
otbOverlapSaveConvolutionImageFilterNew)
if(ITK_USE_FFTWD)
otb_add_test(NAME bfTvOverlapSaveConvolutionImageFilter COMMAND otbConvolutionTestDriver
--compare-image ${EPSILON_7}
${BASELINE}/bfTvConvolutionImageFilter.tif
......@@ -55,6 +56,8 @@ otb_add_test(NAME bfTvCompareOverlapSaveAndClassicalConvolutionWithGaborFilter C
0.0125 0.0125 #u0 v0
0
)
endif()
otb_add_test(NAME bfTvGaborFilterGenerator COMMAND otbConvolutionTestDriver
--compare-image ${EPSILON_7}
${BASELINE}/bfGaborFilterGeneratorTest.tif
......
......@@ -4,8 +4,10 @@ void RegisterTests()
REGISTER_TEST(otbConvolutionImageFilter);
REGISTER_TEST(otbConvolutionImageFilterNew);
REGISTER_TEST(otbOverlapSaveConvolutionImageFilterNew);
#if defined(ITK_USE_FFTWD)
REGISTER_TEST(otbOverlapSaveConvolutionImageFilter);
REGISTER_TEST(otbCompareOverlapSaveAndClassicalConvolutionWithGaborFilter);
#endif
REGISTER_TEST(otbGaborFilterGenerator);
REGISTER_TEST(otbGaborFilterGeneratorNew);
}
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