From 9c656f5819ad90c92540161a4dfbbea141fea39e Mon Sep 17 00:00:00 2001 From: shahramn Date: Thu, 21 Nov 2024 11:55:15 +0000 Subject: [PATCH] Fix broken tests due to ECCODES_DEFINITION_PATH --- tests/codes_assert.sh | 2 +- tests/codes_ecc-1929.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/codes_assert.sh b/tests/codes_assert.sh index 1bd5c878d..1cebf97f1 100755 --- a/tests/codes_assert.sh +++ b/tests/codes_assert.sh @@ -23,7 +23,7 @@ cat $def_dir/grib2/boot.def > $bootfile echo 'assert( year == 1990 );' >> $bootfile echo >> $bootfile -export ECCODES_DEFINITION_PATH=$PWD/$tempDir/definitions +export ECCODES_DEFINITION_PATH=$PWD/$tempDir/definitions:$ECCODES_DEFINITION_PATH # This will activate the print statement above ${tools_dir}/grib_set -s year=1990 $sample_grib2 /dev/null diff --git a/tests/codes_ecc-1929.sh b/tests/codes_ecc-1929.sh index c7ed04d3e..ee34f9d91 100755 --- a/tests/codes_ecc-1929.sh +++ b/tests/codes_ecc-1929.sh @@ -23,7 +23,7 @@ cat $def_dir/grib2/boot.def > $bootfile echo 'print "DEBUG: [gridType=] [typeOfLevel=]";' >> $bootfile echo >> $bootfile -export ECCODES_DEFINITION_PATH=$PWD/$tempDir/definitions +export ECCODES_DEFINITION_PATH=$PWD/$tempDir/definitions:$ECCODES_DEFINITION_PATH # This will activate the print statement above ${tools_dir}/grib_get -p edition $sample_grib2 > $tempOut grep -q "DEBUG: gridType=regular_ll typeOfLevel=surface" $tempOut