Unit test correction
Since we port DiapOTB from OTB v7 to 9, all unit test were disabled as they were not compiling.
Some adaptation has been done in v9_patch branch to compile them. There are still 25 tests that does not work with the followings errors:
- Tests otbSARDEMProjectionImageFilterTest_S1CapVerde, otbSARDEMProjectionTest_S1CapVerde, otbSARDEMToAmplitudeTest_S1CapVerde, otbSARDEMProjectionTest_S1ReunionReference, otbSARDEMProjectionTest_S1ReunionSecondary, otbSARDEMProjectionTest_CSKReunionReference, otbSARDEMProjectionTest_CSKReunionSecondary can not use the geoid file egm96.grd because this file is not correct. When emptying the OTB_GEOID_FILE environment var
- Tests otbSARCartesianMeanEstimationTest_S1ReunionReference and otbSARCartesianMeanEstimationTest_CSKReunionReference fails with following error
Fails with "terminate called after throwing an instance of 'std::runtime_error' what(): Cannot fetch metadata 'band.C' (PolygonsAnalysisImageFilter)"
. It seems to be related with grd file - Segmentation fault with otbSARCorrelationRough_S1Reunion, otbSARCorrelationGrid_S1Reunion, otbSARFineDeformationGrid_S1Reunion, otbSARCorrelationRough_CSKReunion, otbSARCorrelationGrid_CSKReunion, otbSARFineDeformationGrid_CSKReunion . For theses test it is better to attach a debugger
- otbSARTopographicPhase_S1Reunion and otbSARTopographicPhase_CSKReunion does not have correct application call. Some input parameters are missing
- Input parameter file are missing for otbSARRobustInterferogram_S1Reunion, otbSARCompensatedComplex_S1Reunion, otbSARPhaseFiltering_S1Reunion, otbSARAddBandInterferogram_S1Reunion, otbSARRobustInterferogram_CSKReunion, otbSARCompensatedComplex_CSKReunion, otbSARPhaseFiltering_CSKReunion and otbSARAddBandInterferogram_CSKReunion.