Commit 845a4572 authored by Julien Malik's avatar Julien Malik

COMP: fix test data root definition for examples

parent 01459ee8
set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/BasicFilters)
set(INPUTDATA ${OTB_DATA_ROOT}/Examples)
otb_add_test(NAME bfTeLeeImageFilterTest COMMAND ${OTB_TEST_DRIVER}
--compare-n-images ${NOTOL} 1
......
set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/ChangeDetection)
set(INPUTDATA ${OTB_DATA_ROOT}/Examples)
# ------- CorrelChDetTest----------
......
set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Classification)
set(INPUTDATA ${OTB_DATA_ROOT}/Examples)
# ------- ScalarImageMarkovRandomField1Test----------
......
set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/DataRepresentation/Image)
set(INPUTDATA ${OTB_DATA_ROOT}/Examples)
# ------- ImageAdaptor4Test----------
......
set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/DisparityMap)
set(INPUTDATA ${OTB_DATA_ROOT}/Examples)
# ------- SimpleDisparityMapEstimationExampleTest ----------
......
set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/FeatureExtraction)
set(INPUTDATA ${OTB_DATA_ROOT}/Examples)
# ------- CorrelationLineDetectorExampleTest----------
......
set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Filtering)
set(INPUTDATA ${OTB_DATA_ROOT}/Examples)
# ------- MathematicalMorphologyBinaryFiltersTest----------
......
set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Fusion)
set(INPUTDATA ${OTB_DATA_ROOT}/Examples)
otb_add_test(NAME fuTeBayesianFusionImageFilterTest COMMAND ${OTB_TEST_DRIVER}
--compare-image ${EPSILON}
......
set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Hyperspectral)
set(INPUTDATA ${OTB_DATA_ROOT}/Examples)
otb_add_test(NAME siTvHyperspectralExampleTest COMMAND ${OTB_TEST_DRIVER}
--compare-n-images ${NOTOL} 3
${BASELINE}/siTvHyperspectralUnmixingExampleTestBand1.png
......
set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/IO)
set(INPUTDATA ${OTB_DATA_ROOT}/Examples)
# ------- ExtractROITest----------
......
set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Iterators)
set(INPUTDATA ${OTB_DATA_ROOT}/Examples)
# ------- ImageRegionIteratorWithIndexTest----------
......
set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Learning)
set(INPUTDATA ${OTB_DATA_ROOT}/Examples)
# ------- SVMImageClassificationExampleTest----------
......
set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Markov)
set(INPUTDATA ${OTB_DATA_ROOT}/Examples)
otb_add_test(NAME maTeMarkovClassification1ExampleTest COMMAND ${OTB_TEST_DRIVER}
--compare-image ${EPSILON}
......
set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/MultiScale)
set(INPUTDATA ${OTB_DATA_ROOT}/Examples)
# ------- MorphologicalPyramidAnalysisFilterExampleTest ----------
......
set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/OBIA)
set(INPUTDATA ${OTB_DATA_ROOT}/Examples)
otb_add_test(NAME trTeOBIAImageToLabelToImageTest COMMAND ${OTB_TEST_DRIVER}
--compare-image ${NOTOL}
......
set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Patented)
set(INPUTDATA ${OTB_DATA_ROOT}/Examples)
# -----EstimateAffineTransformationExampleTest---------
otb_add_test(NAME dmTeEstimateAffineTransformationExampleTest COMMAND ${OTB_TEST_DRIVER}
......
set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Projections)
set(INPUTDATA ${OTB_DATA_ROOT}/Examples)
otb_add_test(NAME prTeOrthoRectificationExampleTest COMMAND ${OTB_TEST_DRIVER}
--compare-image ${NOTOL}
......
set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Radiometry)
set(INPUTDATA ${OTB_DATA_ROOT}/Examples)
# ------- ARVIMultiChannelRAndBAndNIRVegetationIndexImageFilter ------------------------------
otb_add_test(NAME raTeARVIMultiChannelRAndBAndNIRVegetationIndexImageFilterTest COMMAND ${OTB_TEST_DRIVER}
......
set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Registration)
set(INPUTDATA ${OTB_DATA_ROOT}/Examples)
otb_add_test(NAME reTeImageRegistration1ExampleTest COMMAND ${OTB_TEST_DRIVER}
--compare-image ${NOTOL}
${BASELINE}/ImageRegistration1Output.png
......
set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Segmentation)
set(INPUTDATA ${OTB_DATA_ROOT}/Examples)
# ------- IsolatedConnectedImageFilterTest----------
......
set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Simulation)
set(INPUTDATA ${OTB_DATA_ROOT}/Examples)
# ------- ProsailModelExampleTest ----------
otb_add_test(NAME siTvProsailModelExampleTest COMMAND ${OTB_TEST_DRIVER}
......
set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Tutorials)
set(INPUTDATA ${OTB_DATA_ROOT}/Examples)
otb_add_test(NAME trTeTutorialsHelloWorld COMMAND ${OTB_TEST_DRIVER}
Execute $<TARGET_FILE:HelloWorldOTB>
......
Markdown is supported
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