mirror of https://github.com/ecmwf/eccodes.git
Testing: bufr_dump -O debug output
This commit is contained in:
parent
02c9cb8ee1
commit
40067d2879
|
@ -45,11 +45,11 @@ file="aaen_55.bufr"
|
|||
export ECCODES_DEBUG=1
|
||||
|
||||
# By default debug output goes to stderr
|
||||
${tools_dir}/bufr_dump -O ${data_dir}/bufr/$file 2>&1 | grep -q "BUFR data .*ing"
|
||||
${tools_dir}/bufr_dump -O ${data_dir}/bufr/$file 2>&1 | grep -q "parsing include file"
|
||||
|
||||
# Redirect it to stdout
|
||||
export ECCODES_LOG_STREAM=stdout
|
||||
${tools_dir}/bufr_dump -O ${data_dir}/bufr/$file | grep -q "BUFR data .*ing"
|
||||
${tools_dir}/bufr_dump -O ${data_dir}/bufr/$file | grep -q "parsing include file"
|
||||
|
||||
unset ECCODES_DEBUG
|
||||
unset ECCODES_LOG_STREAM
|
||||
|
|
Loading…
Reference in New Issue