From 30a5e29cb6dc43ddc592fc481319a02dc355d3ea Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Fri, 3 Jun 2016 12:50:26 +0100 Subject: [PATCH] GRIB-923: Add label for all tests that download data so user can run them via 'ctest -L download' --- data/CMakeLists.txt | 1 + data/bufr/CMakeLists.txt | 1 + data/gts/CMakeLists.txt | 1 + data/metar/CMakeLists.txt | 2 ++ data/tigge/CMakeLists.txt | 1 + 5 files changed, 6 insertions(+) diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index 615e551f4..6a019b4a4 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -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 diff --git a/data/bufr/CMakeLists.txt b/data/bufr/CMakeLists.txt index f81689249..3ca254cbe 100644 --- a/data/bufr/CMakeLists.txt +++ b/data/bufr/CMakeLists.txt @@ -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 diff --git a/data/gts/CMakeLists.txt b/data/gts/CMakeLists.txt index a349d2751..6566884c0 100644 --- a/data/gts/CMakeLists.txt +++ b/data/gts/CMakeLists.txt @@ -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 diff --git a/data/metar/CMakeLists.txt b/data/metar/CMakeLists.txt index 5d8980775..e292ac267 100644 --- a/data/metar/CMakeLists.txt +++ b/data/metar/CMakeLists.txt @@ -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 diff --git a/data/tigge/CMakeLists.txt b/data/tigge/CMakeLists.txt index c1842ab48..856dd345b 100644 --- a/data/tigge/CMakeLists.txt +++ b/data/tigge/CMakeLists.txt @@ -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 )