From df2af75d72d64bc5ddeae13c3732fa80f8e3ba3e Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Fri, 19 Aug 2016 15:58:06 +0100 Subject: [PATCH] Testing: fix the definition file parsing (find does not work on symlink) --- tests/include.ctest.sh.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/include.ctest.sh.in b/tests/include.ctest.sh.in index a2ef06613..811efed0c 100644 --- a/tests/include.ctest.sh.in +++ b/tests/include.ctest.sh.in @@ -11,7 +11,8 @@ proj_dir=@PROJECT_SOURCE_DIR@ data_dir=@PROJECT_BINARY_DIR@/data # use definitions from binary dir to test if installation will be correct -def_dir="@CMAKE_BINARY_DIR@/share/@PROJECT_NAME@/definitions" +# Note: 'definitions' is a symlink so must put final slash to interpret as directory +def_dir="@CMAKE_BINARY_DIR@/share/@PROJECT_NAME@/definitions/" ECCODES_DEFINITION_PATH="${def_dir}" export ECCODES_DEFINITION_PATH