mirror of https://github.com/ecmwf/eccodes.git
GRIB-1000: Cannot build with tests disabled
This commit is contained in:
parent
9b2f4ac26e
commit
271fe4a6bb
|
@ -18,7 +18,11 @@ endif()
|
|||
ecbuild_get_test_multidata( TARGET eccodes_download_gribs
|
||||
NOCHECK
|
||||
NAMES ${files_to_download} )
|
||||
set_property( TEST eccodes_download_gribs APPEND PROPERTY LABELS download_data )
|
||||
|
||||
if( ENABLE_TESTS )
|
||||
set_property( TEST eccodes_download_gribs APPEND PROPERTY LABELS download_data )
|
||||
endif()
|
||||
|
||||
|
||||
# Copy other files - e.g. reference data, text files etc from the source data dir
|
||||
LIST(APPEND other_files
|
||||
|
|
|
@ -19,7 +19,9 @@ ecbuild_get_test_multidata(
|
|||
NOCHECK
|
||||
NAMES ${bufr_files_to_download} ${bufr_refs_to_download}
|
||||
)
|
||||
set_property( TEST eccodes_download_bufrs APPEND PROPERTY LABELS download_data )
|
||||
if( ENABLE_TESTS )
|
||||
set_property( TEST eccodes_download_bufrs APPEND PROPERTY LABELS download_data )
|
||||
endif()
|
||||
|
||||
# Copy other files - e.g. text files etc from the source data/bufr dir
|
||||
LIST(APPEND other_files
|
||||
|
|
|
@ -14,7 +14,10 @@ ecbuild_get_test_multidata(
|
|||
NOCHECK
|
||||
NAMES ${gts_files_to_download} ${gts_refs_to_download}
|
||||
)
|
||||
set_property( TEST eccodes_download_gts APPEND PROPERTY LABELS download_data )
|
||||
if( ENABLE_TESTS )
|
||||
set_property( TEST eccodes_download_gts APPEND PROPERTY LABELS download_data )
|
||||
endif()
|
||||
|
||||
|
||||
# Copy other files - e.g. text files etc from the source data/gts dir
|
||||
LIST(APPEND other_files
|
||||
|
|
|
@ -17,8 +17,10 @@ ecbuild_get_test_multidata(
|
|||
NOCHECK
|
||||
NAMES ${metar_files_to_download} ${metar_refs_to_download}
|
||||
)
|
||||
set_property( TEST eccodes_download_metars APPEND PROPERTY LABELS download_data )
|
||||
|
||||
if( ENABLE_TESTS )
|
||||
set_property( TEST eccodes_download_metars APPEND PROPERTY LABELS download_data )
|
||||
endif()
|
||||
|
||||
# Copy other files - e.g. text files etc from the source data/metar dir
|
||||
LIST(APPEND other_files
|
||||
|
|
|
@ -8,5 +8,6 @@ string(REGEX REPLACE "\n" ";" tigge_files_to_download "${tigge_files_to_download
|
|||
ecbuild_get_test_multidata( TARGET eccodes_download_tigge_gribs
|
||||
NOCHECK
|
||||
NAMES ${tigge_files_to_download} )
|
||||
set_property( TEST eccodes_download_tigge_gribs APPEND PROPERTY LABELS download_data )
|
||||
|
||||
if( ENABLE_TESTS )
|
||||
set_property( TEST eccodes_download_tigge_gribs APPEND PROPERTY LABELS download_data )
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue