From 5943e13fde8ec7dbc971912363814752a9cad9ec Mon Sep 17 00:00:00 2001
From: Julien Malik <julien.malik@c-s.fr>
Date: Fri, 23 Sep 2011 15:51:27 +0200
Subject: [PATCH] TEST: fix hyperspectral tests

---
 Testing/Applications/Hyperspectral/CMakeLists.txt | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Testing/Applications/Hyperspectral/CMakeLists.txt b/Testing/Applications/Hyperspectral/CMakeLists.txt
index d867107ce8..1fe5148558 100644
--- a/Testing/Applications/Hyperspectral/CMakeLists.txt
+++ b/Testing/Applications/Hyperspectral/CMakeLists.txt
@@ -4,7 +4,7 @@
 add_test(NAME apTvHyHyperspectralUnmixing_UCLS
          COMMAND otbTestDriver
                  --compare-image ${EPSILON_9}
-                   ${BASELINE_FILES}/apTvHyHyperspectralUnmixing_UCLS.tif
+                   ${BASELINE}/apTvHyHyperspectralUnmixing_UCLS.tif
                    ${TEMP}/apTvHyHyperspectralUnmixing_UCLS.tif
                  Execute $<TARGET_FILE:otbApplicationLauncherCommandLine>
                  HyperspectralUnmixing
@@ -17,7 +17,7 @@ add_test(NAME apTvHyHyperspectralUnmixing_UCLS
 add_test(NAME apTvHyHyperspectralUnmixing_NCLS
          COMMAND otbTestDriver
                  --compare-image ${EPSILON_9}
-                   ${BASELINE_FILES}/apTvHyHyperspectralUnmixing_NCLS.tif
+                   ${BASELINE}/apTvHyHyperspectralUnmixing_NCLS.tif
                    ${TEMP}/apTvHyHyperspectralUnmixing_NCLS.tif
                  Execute $<TARGET_FILE:otbApplicationLauncherCommandLine>
                  HyperspectralUnmixing
@@ -30,7 +30,7 @@ add_test(NAME apTvHyHyperspectralUnmixing_NCLS
 #add_test(NAME apTvHyHyperspectralUnmixing_ISRA
 #         COMMAND otbTestDriver
 #                 --compare-image ${EPSILON_9}
-#                   ${BASELINE_FILES}/apTvHyHyperspectralUnmixing_ISRA.tif
+#                   ${BASELINE}/apTvHyHyperspectralUnmixing_ISRA.tif
 #                   ${TEMP}/apTvHyHyperspectralUnmixing_ISRA.tif
 #                 Execute $<TARGET_FILE:otbApplicationLauncherCommandLine>
 #                 HyperspectralUnmixing
@@ -43,7 +43,7 @@ add_test(NAME apTvHyHyperspectralUnmixing_NCLS
 add_test(NAME apTvHyHyperspectralUnmixing_FCLS
          COMMAND otbTestDriver
                  --compare-image ${EPSILON_9}
-                   ${BASELINE_FILES}/apTvHyHyperspectralUnmixing_FCLS.tif
+                   ${BASELINE}/apTvHyHyperspectralUnmixing_FCLS.tif
                    ${TEMP}/apTvHyHyperspectralUnmixing_FCLS.tif
                  Execute $<TARGET_FILE:otbApplicationLauncherCommandLine>
                  HyperspectralUnmixing
@@ -56,7 +56,7 @@ add_test(NAME apTvHyHyperspectralUnmixing_FCLS
 add_test(NAME apTvHyHyperspectralUnmixing_VCA
          COMMAND otbTestDriver
                  --compare-image ${EPSILON_9}
-                   ${BASELINE_FILES}/apTvHyHyperspectralUnmixing_VCA.tif
+                   ${BASELINE}/apTvHyHyperspectralUnmixing_VCA.tif
                    ${TEMP}/apTvHyHyperspectralUnmixing_VCA.tif
                  Execute $<TARGET_FILE:otbApplicationLauncherCommandLine>
                  HyperspectralUnmixing
-- 
GitLab