From f5853a8c560f7524ecbc3ebb6a4f19ba92aec299 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Mon, 3 Sep 2018 13:23:20 +0100 Subject: [PATCH] Testing: LAM GP/BF. Check number of values --- tests/lam_bf.sh | 3 +++ tests/lam_gp.sh | 3 +++ 2 files changed, 6 insertions(+) diff --git a/tests/lam_bf.sh b/tests/lam_bf.sh index 8b2b5c7c8..f654c7b4b 100755 --- a/tests/lam_bf.sh +++ b/tests/lam_bf.sh @@ -16,6 +16,9 @@ temp=temp.$label.txt dump_and_check() { input=$1 + + grib_check_key_equals $input numberOfValues 3128 + ${tools_dir}/grib_dump -O $input >$temp 2>&1 set +e # Look for the word ERROR in output. We should not find any diff --git a/tests/lam_gp.sh b/tests/lam_gp.sh index 65aed05f3..9edf0ade2 100755 --- a/tests/lam_gp.sh +++ b/tests/lam_gp.sh @@ -16,6 +16,9 @@ temp=temp.$label.txt dump_and_check() { input=$1 + + grib_check_key_equals $input numberOfValues 4096 + ${tools_dir}/grib_dump -O $input >$temp 2>&1 set +e # Look for the word ERROR in output. We should not find any