Skip to content

Commit 381c4c3

Browse files
committed
Fix broken tests due to ECCODES_DEFINITION_PATH
1 parent 019bfe4 commit 381c4c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/codes_assert.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ cat $def_dir/grib2/boot.def > $bootfile
2323
echo 'assert( year == 1990 );' >> $bootfile
2424
echo >> $bootfile
2525

26-
export ECCODES_DEFINITION_PATH=$PWD/$tempDir/definitions
26+
export ECCODES_DEFINITION_PATH=$PWD/$tempDir/definitions:$ECCODES_DEFINITION_PATH
2727
# This will activate the print statement above
2828
${tools_dir}/grib_set -s year=1990 $sample_grib2 /dev/null
2929

tests/codes_ecc-1929.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ cat $def_dir/grib2/boot.def > $bootfile
2323
echo 'print "DEBUG: [gridType=] [typeOfLevel=]";' >> $bootfile
2424
echo >> $bootfile
2525

26-
export ECCODES_DEFINITION_PATH=$PWD/$tempDir/definitions
26+
export ECCODES_DEFINITION_PATH=$PWD/$tempDir/definitions:$ECCODES_DEFINITION_PATH
2727
# This will activate the print statement above
2828
${tools_dir}/grib_get -p edition $sample_grib2 > $tempOut
2929
grep -q "DEBUG: gridType=regular_ll typeOfLevel=surface" $tempOut

0 commit comments

Comments
 (0)