From e78f3be92f80bc13b890693e966b81a0c6a06d79 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Wed, 14 Aug 2024 14:07:46 +0000 Subject: [PATCH] Testing: Replace tigge_dir. Use bin_dir instead --- tests/definitions.sh | 4 ++-- tests/include.ctest.sh.in | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/definitions.sh b/tests/definitions.sh index ecd5d5f4a..3842fa973 100755 --- a/tests/definitions.sh +++ b/tests/definitions.sh @@ -18,12 +18,12 @@ tempOut=temp.$label.txt for file in `find ${ECCODES_DEFINITION_PATH}/ -name '*.def' -print | grep -v grib3/ | grep -v metar/ | grep -v taf/` do - ${tools_dir}/codes_parser $file > $REDIRECT + ${bin_dir}/codes_parser $file > $REDIRECT done # Try an invalid input set +e -echo 'transient xx=1' | ${tools_dir}/codes_parser - 2>$tempOut +echo 'transient xx=1' | ${bin_dir}/codes_parser - 2>$tempOut status=$? set -e [ $status -ne 0 ] diff --git a/tests/include.ctest.sh.in b/tests/include.ctest.sh.in index 90473b7ad..416b353d5 100644 --- a/tests/include.ctest.sh.in +++ b/tests/include.ctest.sh.in @@ -37,7 +37,7 @@ export ECCODES_DEFINITION_PATH # binaries are in the TOP CMAKE_BINARY_DIR tools_dir=@CMAKE_BINARY_DIR@/bin -tigge_dir=@CMAKE_BINARY_DIR@/bin +bin_dir=@CMAKE_BINARY_DIR@/bin # If this environment variable is set, then run the # executables with valgrind. See ECC-746