Skip to content

Commit

Permalink
Fix broken tests due to ECCODES_DEFINITION_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
shahramn committed Nov 21, 2024
1 parent 019bfe4 commit 381c4c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/codes_assert.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion tests/codes_ecc-1929.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 381c4c3

Please sign in to comment.