Commit 8ae02838 authored by Thibaut ROMAIN's avatar Thibaut ROMAIN
Browse files

WIP: Move tests depending on ImageProc module

parent ea73696d
Pipeline #11960 failed with stages
in 39 minutes and 59 seconds
......@@ -54,27 +54,6 @@ otb_add_test(NAME bfTvFlexibleDistanceWithMissingValue COMMAND otbImageBaseTestD
0.000001
)
otb_add_test(NAME bfTvItkImagePCAShapeModelEstimatorTest COMMAND otbImageBaseTestDriver
--compare-n-images ${EPSILON_7} 4
${TEMP}/bfITKimagePCAShapeModelEstimatorTest_eigen_vectors1.tif
${TEMP}/bfInnerProductPCAImageFilterAllsOutputsWithoutUnbiasedEstimator_pc1.tif
${TEMP}/bfITKimagePCAShapeModelEstimatorTest_eigen_vectors2.tif
${TEMP}/bfInnerProductPCAImageFilterAllsOutputsWithoutUnbiasedEstimator_pc2.tif
${TEMP}/bfITKimagePCAShapeModelEstimatorTest_eigen_vectors3.tif
${TEMP}/bfInnerProductPCAImageFilterAllsOutputsWithoutUnbiasedEstimator_pc3.tif
${TEMP}/bfITKimagePCAShapeModelEstimatorTest_mean.tif
${TEMP}/bfInnerProductPCAImageFilterAllsOutputsWithoutUnbiasedEstimator_MEAN.tif
otbImagePCAShapeModelEstimatorTest
${INPUTDATA}/poupees_sub_c1.png
${INPUTDATA}/poupees_sub_c2.png
${INPUTDATA}/poupees_sub_c3.png
${TEMP}/bfITKimagePCAShapeModelEstimatorTest_mean.tif
${TEMP}/bfITKimagePCAShapeModelEstimatorTest_eigen_vectors1.tif
${TEMP}/bfITKimagePCAShapeModelEstimatorTest_eigen_vectors2.tif
${TEMP}/bfITKimagePCAShapeModelEstimatorTest_eigen_vectors3.tif
)
set_property(TEST bfTvItkImagePCAShapeModelEstimatorTest PROPERTY DEPENDS bfTvInnerProductPCAImageFilterAllsOutputsWithoutUnbiasedEstimator)
otb_add_test(NAME bfTvFunctionToImageFilterTest COMMAND otbImageBaseTestDriver
--compare-image ${EPSILON_7}
${BASELINE}/bfTvFunctionToImageFilterTest.tif
......
......@@ -143,11 +143,6 @@ otb_add_test(NAME bfTvStreamingShrinkImageFilterQBMUL COMMAND otbImageManipulati
20
)
otb_add_test(NAME bfTvUnaryImageFunctorWithVectorImageFilter COMMAND otbImageManipulationTestDriver
--compare-image ${NOTOL}
${BASELINE}/bfTvUnaryImageFunctorWithVectorImageFilter.tif
......
......@@ -135,6 +135,15 @@ add_test( NAME pyTvBug2262
${OTB_DATA_ROOT}/Input/Capitole_Rasterization.tif
${TEMP}/pyTvBug2262Output.txt
)
add_test( NAME pyTvBug1899
COMMAND ${TEST_DRIVER}
Execute
${Python_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/PythonTestDriver.py
Bug1899
${OTB_DATA_ROOT}/Input/veryverySmallFSATSW.tif
${TEMP}/pyTvBug1899Output.tif
)
endif()
if(OTBGroup_Hyperspectral)
......@@ -182,15 +191,6 @@ add_test( NAME pyTvBug1498
Bug823
${OTB_DATA_ROOT}/Input/poupees.tif
${TEMP}/Bu1498-output.tif)
add_test( NAME pyTvBug1899
COMMAND ${TEST_DRIVER}
Execute
${Python_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/PythonTestDriver.py
Bug1899
${OTB_DATA_ROOT}/Input/veryverySmallFSATSW.tif
${TEMP}/pyTvBug1899Output.tif
)
add_test( NAME pyTuImageMetadata
COMMAND ${TEST_DRIVER} Execute
......
......@@ -197,7 +197,7 @@ otb_add_test(NAME bfTvInnerProductPCAImageFilterDisableCenterData COMMAND otbDim
${TEMP}/bfInnerProductPCAImageFilterDisableCenterData_pc2.tif
${TEMP}/bfInnerProductPCAImageFilterDisableCenterData_pc3.tif
)
otb_add_test(NAME bfTvInnerProductPCAImageFilterAllsOutputsWithoutUnbiasedEstimator COMMAND otbDimensionalityReductionTestDriver
--compare-image ${EPSILON_7}
${BASELINE}/bfInnerProductPCAImageFilterAllsOutputs.tif
......@@ -215,6 +215,27 @@ otb_add_test(NAME bfTvInnerProductPCAImageFilterAllsOutputsWithoutUnbiasedEstima
${TEMP}/bfInnerProductPCAImageFilterAllsOutputsWithoutUnbiasedEstimator_MEAN.tif
)
otb_add_test(NAME bfTvItkImagePCAShapeModelEstimatorTest COMMAND otbImageBaseTestDriver
--compare-n-images ${EPSILON_7} 4
${TEMP}/bfITKimagePCAShapeModelEstimatorTest_eigen_vectors1.tif
${TEMP}/bfInnerProductPCAImageFilterAllsOutputsWithoutUnbiasedEstimator_pc1.tif
${TEMP}/bfITKimagePCAShapeModelEstimatorTest_eigen_vectors2.tif
${TEMP}/bfInnerProductPCAImageFilterAllsOutputsWithoutUnbiasedEstimator_pc2.tif
${TEMP}/bfITKimagePCAShapeModelEstimatorTest_eigen_vectors3.tif
${TEMP}/bfInnerProductPCAImageFilterAllsOutputsWithoutUnbiasedEstimator_pc3.tif
${TEMP}/bfITKimagePCAShapeModelEstimatorTest_mean.tif
${TEMP}/bfInnerProductPCAImageFilterAllsOutputsWithoutUnbiasedEstimator_MEAN.tif
otbImagePCAShapeModelEstimatorTest
${INPUTDATA}/poupees_sub_c1.png
${INPUTDATA}/poupees_sub_c2.png
${INPUTDATA}/poupees_sub_c3.png
${TEMP}/bfITKimagePCAShapeModelEstimatorTest_mean.tif
${TEMP}/bfITKimagePCAShapeModelEstimatorTest_eigen_vectors1.tif
${TEMP}/bfITKimagePCAShapeModelEstimatorTest_eigen_vectors2.tif
${TEMP}/bfITKimagePCAShapeModelEstimatorTest_eigen_vectors3.tif
)
set_property(TEST bfTvItkImagePCAShapeModelEstimatorTest PROPERTY DEPENDS bfTvInnerProductPCAImageFilterAllsOutputsWithoutUnbiasedEstimator)
otb_add_test(NAME bfTvInnerProductPCAImageFilterAllsOutputs COMMAND otbDimensionalityReductionTestDriver
--compare-image ${EPSILON_7}
${BASELINE}/bfInnerProductPCAImageFilterAllsOutputs.tif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment