mirror of https://github.com/ecmwf/eccodes.git
Testing: Failing cases
This commit is contained in:
parent
1643dcd31f
commit
358fda6954
|
@ -17,6 +17,7 @@ fRules=${label}.filter
|
|||
|
||||
# Do all the work in a temporary directory
|
||||
temp_dir=tempdir.${label}
|
||||
rm -rf $temp_dir
|
||||
mkdir -p $temp_dir
|
||||
cd $temp_dir
|
||||
|
||||
|
@ -43,6 +44,21 @@ for f in ${bufr_files}; do
|
|||
rm -f out.filter_by_rdbSubtype.*
|
||||
done
|
||||
|
||||
# Failing cases
|
||||
# ----------------
|
||||
set +e
|
||||
${tools_dir}/bufr_split_by_rdbSubtype
|
||||
status=$?
|
||||
set -e
|
||||
[ $status -eq 1 ]
|
||||
|
||||
set +e
|
||||
${tools_dir}/bufr_split_by_rdbSubtype $data_dir
|
||||
status=$?
|
||||
set -e
|
||||
[ $status -eq 1 ]
|
||||
|
||||
|
||||
# Clean up
|
||||
# -------------
|
||||
cd $test_dir
|
||||
|
|
|
@ -68,6 +68,12 @@ status=$?
|
|||
set -e
|
||||
[ $status -eq 1 ]
|
||||
|
||||
set +e
|
||||
${tools_dir}/codes_split_file 4 $data_dir
|
||||
status=$?
|
||||
set -e
|
||||
[ $status -eq 1 ]
|
||||
|
||||
|
||||
# Clean up
|
||||
cd $test_dir
|
||||
|
|
Loading…
Reference in New Issue