mirror of https://github.com/ecmwf/eccodes.git
ECC-106 Use ECCODES_{DEFINITION,SAMPLES}_SUFF in test scripts
This commit is contained in:
parent
5023f91d7a
commit
353b6fa8f4
|
@ -12,7 +12,7 @@ data_dir=@PROJECT_BINARY_DIR@/data
|
||||||
|
|
||||||
# use definitions from binary dir to test if installation will be correct
|
# 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
|
# 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}"
|
ECCODES_DEFINITION_PATH="${def_dir}"
|
||||||
export ECCODES_DEFINITION_PATH
|
export ECCODES_DEFINITION_PATH
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ fi
|
||||||
test_dir=@PROJECT_BINARY_DIR@/tests/
|
test_dir=@PROJECT_BINARY_DIR@/tests/
|
||||||
|
|
||||||
# use samples from binary dir to test if installation will be correct
|
# 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}
|
ECCODES_SAMPLES_PATH=${samp_dir}
|
||||||
export ECCODES_SAMPLES_PATH
|
export ECCODES_SAMPLES_PATH
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue