Testing: Replace tigge_dir. Use bin_dir instead

This commit is contained in:
Shahram Najm 2024-08-14 14:07:46 +00:00
parent 098592568f
commit e78f3be92f
2 changed files with 3 additions and 3 deletions

View File

@ -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 ]

View File

@ -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