diff --git a/Examples/BasicFilters/test/CMakeLists.txt b/Examples/BasicFilters/test/CMakeLists.txt index c1ff62e05b532a182add09141b4fb9e21b36f66c..7984fa1863ebce7541caa2dfe497a66779157f49 100644 --- a/Examples/BasicFilters/test/CMakeLists.txt +++ b/Examples/BasicFilters/test/CMakeLists.txt @@ -1,3 +1,5 @@ +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 diff --git a/Examples/ChangeDetection/test/CMakeLists.txt b/Examples/ChangeDetection/test/CMakeLists.txt index a7d38abb5aee1a19036ee2e999b30a335621935c..e0943f9846d9ebf12f67bbda8e33a5cc7c18a94d 100644 --- a/Examples/ChangeDetection/test/CMakeLists.txt +++ b/Examples/ChangeDetection/test/CMakeLists.txt @@ -1,3 +1,5 @@ +set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/ChangeDetection) +set(INPUTDATA ${OTB_DATA_ROOT}/Examples) # ------- CorrelChDetTest---------- diff --git a/Examples/Classification/test/CMakeLists.txt b/Examples/Classification/test/CMakeLists.txt index 25a2b81ff4afc5dbc1b79d3d0fe76f5fc6372e6c..8fd6396e05a951138c3e1a012c836c1a856df259 100644 --- a/Examples/Classification/test/CMakeLists.txt +++ b/Examples/Classification/test/CMakeLists.txt @@ -1,3 +1,5 @@ +set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Classification) +set(INPUTDATA ${OTB_DATA_ROOT}/Examples) # ------- ScalarImageMarkovRandomField1Test---------- diff --git a/Examples/DataRepresentation/Image/test/CMakeLists.txt b/Examples/DataRepresentation/Image/test/CMakeLists.txt index bf9759a43d437f61139c3410735885f8f6e8cf3b..212f4a1c82efac2ada9471ca5aed6ee70b38899d 100644 --- a/Examples/DataRepresentation/Image/test/CMakeLists.txt +++ b/Examples/DataRepresentation/Image/test/CMakeLists.txt @@ -1,3 +1,5 @@ +set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/DataRepresentation/Image) +set(INPUTDATA ${OTB_DATA_ROOT}/Examples) # ------- ImageAdaptor4Test---------- diff --git a/Examples/DisparityMap/test/CMakeLists.txt b/Examples/DisparityMap/test/CMakeLists.txt index afb0e1086a4d34bf24244e0a37d6855184da2494..d90913ccfcaca5de71692741ba78d7765020168b 100644 --- a/Examples/DisparityMap/test/CMakeLists.txt +++ b/Examples/DisparityMap/test/CMakeLists.txt @@ -1,3 +1,5 @@ +set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/DisparityMap) +set(INPUTDATA ${OTB_DATA_ROOT}/Examples) # ------- SimpleDisparityMapEstimationExampleTest ---------- diff --git a/Examples/FeatureExtraction/test/CMakeLists.txt b/Examples/FeatureExtraction/test/CMakeLists.txt index 5ed1ca8e4c0d84f9ac01c1f9441c6f5019880a36..129c2c5e456548e19e4e64e26554195c6d5297e6 100644 --- a/Examples/FeatureExtraction/test/CMakeLists.txt +++ b/Examples/FeatureExtraction/test/CMakeLists.txt @@ -1,3 +1,5 @@ +set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/FeatureExtraction) +set(INPUTDATA ${OTB_DATA_ROOT}/Examples) # ------- CorrelationLineDetectorExampleTest---------- diff --git a/Examples/Filtering/test/CMakeLists.txt b/Examples/Filtering/test/CMakeLists.txt index 015084d87450534a650a0d231613b4cc02c5050f..374597f0fe9412c26296d554d7b473c651438905 100644 --- a/Examples/Filtering/test/CMakeLists.txt +++ b/Examples/Filtering/test/CMakeLists.txt @@ -1,3 +1,5 @@ +set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Filtering) +set(INPUTDATA ${OTB_DATA_ROOT}/Examples) # ------- MathematicalMorphologyBinaryFiltersTest---------- diff --git a/Examples/Fusion/test/CMakeLists.txt b/Examples/Fusion/test/CMakeLists.txt index d3e5458e6cb3f5a7d2596b97e54bbbd82736a7fc..0ce290629962d6755325161f669480881deabe49 100644 --- a/Examples/Fusion/test/CMakeLists.txt +++ b/Examples/Fusion/test/CMakeLists.txt @@ -1,3 +1,5 @@ +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} diff --git a/Examples/Hyperspectral/test/CMakeLists.txt b/Examples/Hyperspectral/test/CMakeLists.txt index 032e1f64eb1f03f125af80c8524ac2e1cb1908e0..5019a6ca35f585e6753eb45a8ddd5beca816a15f 100644 --- a/Examples/Hyperspectral/test/CMakeLists.txt +++ b/Examples/Hyperspectral/test/CMakeLists.txt @@ -1,3 +1,6 @@ +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 diff --git a/Examples/IO/test/CMakeLists.txt b/Examples/IO/test/CMakeLists.txt index a0abb6454a55aeac083426dc3053d9e09dc734b2..3bea063b8e1bb5ced3590bdf950df2ec8db16e2e 100644 --- a/Examples/IO/test/CMakeLists.txt +++ b/Examples/IO/test/CMakeLists.txt @@ -1,3 +1,5 @@ +set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/IO) +set(INPUTDATA ${OTB_DATA_ROOT}/Examples) # ------- ExtractROITest---------- diff --git a/Examples/Iterators/test/CMakeLists.txt b/Examples/Iterators/test/CMakeLists.txt index 9d77de87cbbb6d02c5564efee21bf6c306afa6fc..4bb452770e6e6a47ff687520ff3e9621f35245b0 100644 --- a/Examples/Iterators/test/CMakeLists.txt +++ b/Examples/Iterators/test/CMakeLists.txt @@ -1,3 +1,5 @@ +set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Iterators) +set(INPUTDATA ${OTB_DATA_ROOT}/Examples) # ------- ImageRegionIteratorWithIndexTest---------- diff --git a/Examples/Learning/test/CMakeLists.txt b/Examples/Learning/test/CMakeLists.txt index e1cd4f135edbeda3a793ed3fe3d2e02d494440d6..b8cef5de84e7f5167cdbde637b201dc554ba7ffb 100644 --- a/Examples/Learning/test/CMakeLists.txt +++ b/Examples/Learning/test/CMakeLists.txt @@ -1,3 +1,5 @@ +set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Learning) +set(INPUTDATA ${OTB_DATA_ROOT}/Examples) # ------- SVMImageClassificationExampleTest---------- diff --git a/Examples/Markov/test/CMakeLists.txt b/Examples/Markov/test/CMakeLists.txt index 8d685cd8563738ccd73081f5da289bca396f56a1..bcf01dfa271b61aa0ae0fdab0fa0f23e1a67d4d3 100644 --- a/Examples/Markov/test/CMakeLists.txt +++ b/Examples/Markov/test/CMakeLists.txt @@ -1,3 +1,5 @@ +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} diff --git a/Examples/MultiScale/test/CMakeLists.txt b/Examples/MultiScale/test/CMakeLists.txt index 0eba82678421e074e8c3ea0a9cc6d13f8a9b8adc..1b07e511d3aefa96ef133f64542e53cd39cf52a9 100644 --- a/Examples/MultiScale/test/CMakeLists.txt +++ b/Examples/MultiScale/test/CMakeLists.txt @@ -1,3 +1,5 @@ +set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/MultiScale) +set(INPUTDATA ${OTB_DATA_ROOT}/Examples) # ------- MorphologicalPyramidAnalysisFilterExampleTest ---------- diff --git a/Examples/OBIA/test/CMakeLists.txt b/Examples/OBIA/test/CMakeLists.txt index 7284a17028c0c20fa0aa01364caf7600d387a311..83a32c6339f4503a4fe36a72e982a6ea9bb559a5 100644 --- a/Examples/OBIA/test/CMakeLists.txt +++ b/Examples/OBIA/test/CMakeLists.txt @@ -1,3 +1,5 @@ +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} diff --git a/Examples/Patented/test/CMakeLists.txt b/Examples/Patented/test/CMakeLists.txt index d6a5f41f8d7e5545a86158774b9b96c9aed4a9e9..8640a4948981ef352438159ab274981fab747e4b 100644 --- a/Examples/Patented/test/CMakeLists.txt +++ b/Examples/Patented/test/CMakeLists.txt @@ -1,3 +1,5 @@ +set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Patented) +set(INPUTDATA ${OTB_DATA_ROOT}/Examples) # -----EstimateAffineTransformationExampleTest--------- otb_add_test(NAME dmTeEstimateAffineTransformationExampleTest COMMAND ${OTB_TEST_DRIVER} diff --git a/Examples/Projections/test/CMakeLists.txt b/Examples/Projections/test/CMakeLists.txt index ac1d196eef118f9543b30ad666bb4969c66ce0a2..d1ad300506a769e19cf24ed9747982cd7a4c5048 100644 --- a/Examples/Projections/test/CMakeLists.txt +++ b/Examples/Projections/test/CMakeLists.txt @@ -1,3 +1,5 @@ +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} diff --git a/Examples/Radiometry/test/CMakeLists.txt b/Examples/Radiometry/test/CMakeLists.txt index 683b2768ecfea5423c02495ac914c2e6b10133d5..ac96ae54a08001eca52bb08cd14a1854d2446853 100644 --- a/Examples/Radiometry/test/CMakeLists.txt +++ b/Examples/Radiometry/test/CMakeLists.txt @@ -1,3 +1,6 @@ +set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Radiometry) +set(INPUTDATA ${OTB_DATA_ROOT}/Examples) + # ------- ARVIMultiChannelRAndBAndNIRVegetationIndexImageFilter ------------------------------ otb_add_test(NAME raTeARVIMultiChannelRAndBAndNIRVegetationIndexImageFilterTest COMMAND ${OTB_TEST_DRIVER} diff --git a/Examples/Registration/test/CMakeLists.txt b/Examples/Registration/test/CMakeLists.txt index 4b8da30e9b16d12c3d9e42351f8a629811f965d3..c1cc57f0849b32a0f96b3cdeadf4fe80162ef3fc 100644 --- a/Examples/Registration/test/CMakeLists.txt +++ b/Examples/Registration/test/CMakeLists.txt @@ -1,3 +1,6 @@ +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 diff --git a/Examples/Segmentation/test/CMakeLists.txt b/Examples/Segmentation/test/CMakeLists.txt index 79661193478f6ec5127b5c4c88c3dbb1b4e52aaa..151b07d135834c7d0bf1bb761c6a675dafbcb19d 100644 --- a/Examples/Segmentation/test/CMakeLists.txt +++ b/Examples/Segmentation/test/CMakeLists.txt @@ -1,3 +1,5 @@ +set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Segmentation) +set(INPUTDATA ${OTB_DATA_ROOT}/Examples) # ------- IsolatedConnectedImageFilterTest---------- diff --git a/Examples/Simulation/test/CMakeLists.txt b/Examples/Simulation/test/CMakeLists.txt index ae571958449a61222c38d5f2d725dc5bd906d04b..e94dea6becdbe40f445a25377d797a424d571b61 100644 --- a/Examples/Simulation/test/CMakeLists.txt +++ b/Examples/Simulation/test/CMakeLists.txt @@ -1,3 +1,6 @@ +set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Simulation) +set(INPUTDATA ${OTB_DATA_ROOT}/Examples) + # ------- ProsailModelExampleTest ---------- otb_add_test(NAME siTvProsailModelExampleTest COMMAND ${OTB_TEST_DRIVER} diff --git a/Examples/Tutorials/test/CMakeLists.txt b/Examples/Tutorials/test/CMakeLists.txt index da2682d1c29c29fecbb718069c5f4a9ef422f361..12809ecff122f922c92d0319e38cdbc389639bb0 100644 --- a/Examples/Tutorials/test/CMakeLists.txt +++ b/Examples/Tutorials/test/CMakeLists.txt @@ -1,3 +1,5 @@ +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>