From 353b6fa8f41c704d446188c81a2403d660ea3251 Mon Sep 17 00:00:00 2001 From: Florian Rathgeber Date: Fri, 3 Feb 2017 13:58:57 +0000 Subject: [PATCH] ECC-106 Use ECCODES_{DEFINITION,SAMPLES}_SUFF in test scripts --- tests/include.ctest.sh.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/include.ctest.sh.in b/tests/include.ctest.sh.in index e476dd07b..876fedb79 100644 --- a/tests/include.ctest.sh.in +++ b/tests/include.ctest.sh.in @@ -12,7 +12,7 @@ data_dir=@PROJECT_BINARY_DIR@/data # use definitions from binary dir to test if installation will be correct # Note: 'definitions' is a symlink so must put final slash to interpret as directory -def_dir="@CMAKE_BINARY_DIR@/share/@PROJECT_NAME@/definitions/" +def_dir="@CMAKE_BINARY_DIR@/@ECCODES_DEFINITION_SUFF@/" ECCODES_DEFINITION_PATH="${def_dir}" export ECCODES_DEFINITION_PATH @@ -30,7 +30,7 @@ fi test_dir=@PROJECT_BINARY_DIR@/tests/ # use samples from binary dir to test if installation will be correct -samp_dir="@CMAKE_BINARY_DIR@/share/@PROJECT_NAME@/samples" +samp_dir="@CMAKE_BINARY_DIR@/@ECCODES_SAMPLES_SUFF@" ECCODES_SAMPLES_PATH=${samp_dir} export ECCODES_SAMPLES_PATH