From b2b4fa1f603afc1f17f09e697c29cb645a00f05f Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Mon, 4 Sep 2023 12:01:01 +0000 Subject: [PATCH] Testing: Fix broken test --- tests/CMakeLists.txt | 2 +- tests/grib_accessors.sh | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 21e4eb5dc..ad9f7c408 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -87,6 +87,7 @@ if( HAVE_BUILD_TOOLS ) bufr_check_descriptors definitions grib2_version + grib_accessors grib_calendar grib_md5 grib_cfNames @@ -277,7 +278,6 @@ if( HAVE_BUILD_TOOLS ) grib_copy_message grib_decimalPrecision grib_bitsPerValue - grib_accessors grib_get_fail grib_missing grib_local diff --git a/tests/grib_accessors.sh b/tests/grib_accessors.sh index 0d10c7442..c86815cb5 100755 --- a/tests/grib_accessors.sh +++ b/tests/grib_accessors.sh @@ -45,8 +45,12 @@ ${tools_dir}/grib_get -p key_uint32 $input >> $tempText 2>&1 ${tools_dir}/grib_get -p key_uint32_le $input >> $tempText 2>&1 set -e +# grib_check_key_equals $input 'key_uint64,key_uint64_le' '0 0' +${tools_dir}/grib_get -p key_uint64 $input > $tempText 2>&1 +${tools_dir}/grib_get -p key_uint64_le $input > $tempText 2>&1 +cat $tempText + # kindOfProduct = GRIB, dataDate = 20070323 -grib_check_key_equals $input 'key_uint64,key_uint64_le' '0 0' grib_check_key_equals $input 'key_tos1,key_tos2' 'G 200' grib_check_key_equals $input 'key_tos2:d,key_tos2:i' '200 200'