mirror of https://github.com/ecmwf/eccodes.git
Testing: add variables from cmake so tests can exclude/include data files
This commit is contained in:
parent
31d1171b69
commit
7db816217e
|
@ -22,6 +22,10 @@ files="
|
|||
regular_latlon_surface_constant.grib2
|
||||
"
|
||||
|
||||
if [ $HAVE_JPG -eq 1 ]; then
|
||||
files="multi.grib2 v.grib2"$files
|
||||
fi
|
||||
|
||||
# TODO: For the following the PNG packing fails with an assert!
|
||||
# grib_accessor_class_data_png_packing.c: Assert(p->offset + length <= p->length)
|
||||
# data/sample.grib2
|
||||
|
|
|
@ -26,3 +26,8 @@ test_dir=@PROJECT_BINARY_DIR@/tests
|
|||
samp_dir="@CMAKE_BINARY_DIR@/share/@PROJECT_NAME@/samples"
|
||||
ECCODES_SAMPLES_PATH=${samp_dir}
|
||||
export ECCODES_SAMPLES_PATH
|
||||
|
||||
# Options
|
||||
HAVE_JPG=@HAVE_JPG@
|
||||
HAVE_PNG=@HAVE_PNG@
|
||||
HAVE_AEC=@HAVE_AEC@
|
||||
|
|
Loading…
Reference in New Issue