Testing: codes_info

This commit is contained in:
Shahram Najm 2023-08-14 13:45:53 +01:00
parent c1c9f5bb12
commit bd82bc099a
1 changed files with 10 additions and 0 deletions

View File

@ -29,6 +29,16 @@ status=$?
set -e
[ $status -eq 1 ]
# Verbose debug output
ECCODES_DEBUG=1 ${tools_dir}/codes_info
# Test legacy environment variables
unset ECCODES_DEFINITION_PATH
unset ECCODES_SAMPLES_PATH
export GRIB_DEFINITION_PATH=/tmp/dtest
export GRIB_SAMPLES_PATH=/tmp/stest
${tools_dir}/codes_info > $tempLog
grep -q "This is for backward compatibility" $tempLog
# Clean up
rm -f $tempLog