mirror of https://github.com/ecmwf/eccodes.git
CMake: remove dependency on target 'check'. Normal make will download data
This commit is contained in:
parent
35a9a71eb9
commit
0ed10ea106
|
@ -147,4 +147,4 @@ endforeach()
|
|||
# Another dummy target which depends on all previous targets
|
||||
#add_custom_target( get_gribs ALL DEPENDS ${tgts} )
|
||||
add_custom_target( get_gribs DEPENDS ${tgts} )
|
||||
add_dependencies( check get_gribs )
|
||||
|
||||
|
|
|
@ -148,5 +148,4 @@ foreach (f ${bufr_files_to_download})
|
|||
endforeach()
|
||||
|
||||
add_custom_target( get_bufr_gribs DEPENDS ${tgts} )
|
||||
add_dependencies( check get_bufr_gribs )
|
||||
|
||||
|
|
|
@ -257,5 +257,4 @@ foreach (f ${tigge_files_to_download})
|
|||
endforeach()
|
||||
|
||||
add_custom_target( get_tigge_gribs DEPENDS ${tgts} )
|
||||
add_dependencies( check get_tigge_gribs )
|
||||
|
||||
|
|
|
@ -66,9 +66,12 @@ list( APPEND tests
|
|||
)
|
||||
|
||||
foreach( test ${tests} )
|
||||
|
||||
# Note: making the test dependent on the grib data files
|
||||
# means they will be downloaded at "make" time
|
||||
# rather than when you do "make test"
|
||||
ecbuild_add_test( TARGET t_${test}
|
||||
TYPE SCRIPT
|
||||
DEPENDS get_gribs get_tigge_gribs get_bufr_gribs
|
||||
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/${test}.sh
|
||||
RESOURCES include.sh
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue