mirror of https://github.com/ecmwf/eccodes.git
Testing: Replace tigge_dir. Use bin_dir instead
This commit is contained in:
parent
098592568f
commit
e78f3be92f
|
@ -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 ]
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue