GRIB-923: Add label for all tests that download data so user can run them via 'ctest -L download'

This commit is contained in:
Shahram Najm 2016-06-03 12:50:26 +01:00
parent d684bd7860
commit 30a5e29cb6
5 changed files with 6 additions and 0 deletions

View File

@ -18,6 +18,7 @@ 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 )
# Copy other files - e.g. reference data, text files etc from the source data dir
LIST(APPEND other_files

View File

@ -19,6 +19,7 @@ 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 )
# Copy other files - e.g. text files etc from the source data/bufr dir
LIST(APPEND other_files

View File

@ -14,6 +14,7 @@ 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 )
# Copy other files - e.g. text files etc from the source data/gts dir
LIST(APPEND other_files

View File

@ -17,6 +17,8 @@ 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 )
# Copy other files - e.g. text files etc from the source data/metar dir
LIST(APPEND other_files

View File

@ -8,3 +8,4 @@ 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 )