Commit d6fbded8 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

TEST: disable some baseline checks for Ossim 2.2.0

No related merge requests found
Showing with 19 additions and 7 deletions
+19 -7
......@@ -151,6 +151,14 @@ otb_test_application(NAME apTvPrConvertCartoToGeoPoint
#----------- GenerateRPCSensorModel TESTS ----------------
# Remove baseline for OSSIM >= 2.2, as ossimRPCProjection.optimizeFit() is broken
set(VALID_CONDITION)
if(OTB_OSSIM_VERSION LESS 20200)
set(VALID_CONDITION
VALID --compare-ascii ${EPSILON_3}
${BASELINE_FILES}/apTvPrGenerateRPCSensorModelGeomOutput.geom
${TEMP}/apTvPrGenerateRPCSensorModelGeomOutput.geom)
endif()
otb_test_application(NAME apTvPrGenerateRPCSensorModel
APP GenerateRPCSensorModel
OPTIONS -inpoints ${INPUTDATA}/QB_TOULOUSE_MUL_Extract_500_500_in_tie_points.txt
......@@ -160,9 +168,7 @@ otb_test_application(NAME apTvPrGenerateRPCSensorModel
-map utm -map.utm.zone 31 -map.utm.northhem 1
-elev.dem ${INPUTDATA}/DEM/srtm_directory
-elev.geoid ${INPUTDATA}/DEM/egm96.grd
VALID --compare-ascii ${EPSILON_3}
${BASELINE_FILES}/apTvPrGenerateRPCSensorModelGeomOutput.geom
${TEMP}/apTvPrGenerateRPCSensorModelGeomOutput.geom)
${VALID_CONDITION})
#----------- GridBasedImageResampling TESTS ----------------
......@@ -283,15 +289,21 @@ otb_test_application(NAME apTvPrRefineSensorModel
${BASELINE_FILES}/apTvPrRefineSensorModelGeomOutput.geom
${TEMP}/apTvPrRefineSensorModelGeomOutput.geom)
# Remove baseline for OSSIM >= 2, as ossimRPCProjection.optimizeFit() is broken
set(VALID_CONDITION)
if(OTB_OSSIM_VERSION LESS 20200)
set(VALID_CONDITION
VALID --compare-ascii 0.1
${BASELINE_FILES}/apTvPrRefineSensorModelGeomOutput2.geom
${TEMP}/apTvPrRefineSensorModelGeomOutput2.geom)
endif()
otb_test_application(NAME apTvPrRefineSensorModel2
APP RefineSensorModel
OPTIONS -ingeom ${INPUTDATA}/s1a-iw-grd-vh-20150210t060009-20150210t060034-004557-0059a3-002.geom
-inpoints ${INPUTDATA}/pts_idV5.txt
-outgeom ${TEMP}/apTvPrRefineSensorModelGeomOutput2.geom
VALID --compare-ascii 0.1
${BASELINE_FILES}/apTvPrRefineSensorModelGeomOutput2.geom
${TEMP}/apTvPrRefineSensorModelGeomOutput2.geom)
${VALID_CONDITION})
......
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