[eccodes] 41/106: More work to disable downloads

Alastair McKinstry mckinstry at moszumanska.debian.org
Fri Jul 28 09:05:12 UTC 2017


This is an automated email from the git hooks/post-receive script.

mckinstry pushed a commit to branch debian/master
in repository eccodes.

commit 15b45ab21e2de233fb5307468737aedcd9f19c5e
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Sun Oct 23 11:57:52 2016 +0100

    More work to disable downloads
---
 debian/patches/disable-download-tests.patch | 33 +++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/debian/patches/disable-download-tests.patch b/debian/patches/disable-download-tests.patch
index 7503cbd..9755575 100644
--- a/debian/patches/disable-download-tests.patch
+++ b/debian/patches/disable-download-tests.patch
@@ -69,3 +69,36 @@ Index: eccodes-2.0.0/tests/CMakeLists.txt
  )
  
  ecbuild_add_test( TARGET eccodes_t_grib_check_param_concepts
+Index: eccodes-2.0.0/cmake/ecbuild_get_test_data.cmake
+===================================================================
+--- eccodes-2.0.0.orig/cmake/ecbuild_get_test_data.cmake
++++ eccodes-2.0.0/cmake/ecbuild_get_test_data.cmake
+@@ -159,7 +159,7 @@ function( ecbuild_get_test_data )
+ 
+     # download the data
+ 
+-    _download_test_data( ${_p_NAME} ${_p_DIRNAME} )
++#    _download_test_data( ${_p_NAME} ${_p_DIRNAME} )
+ 
+     # perform the checksum if requested
+ 
+@@ -220,13 +220,13 @@ function( ecbuild_get_test_data )
+ 
+     endif()
+ 
+-    add_custom_target( ${_p_TARGET} DEPENDS ${_deps} )
++#    add_custom_target( ${_p_TARGET} DEPENDS ${_deps} )
+ 
+-    if( _p_EXTRACT )
+-      ecbuild_debug("ecbuild_get_test_data: extracting ${_p_NAME} (post-build for target ${_p_TARGET}")
+-      add_custom_command( TARGET ${_p_TARGET} POST_BUILD
+-                          COMMAND ${CMAKE_COMMAND} -E tar xv ${_p_NAME} )
+-    endif()
++#    if( _p_EXTRACT )
++#      ecbuild_debug("ecbuild_get_test_data: extracting ${_p_NAME} (post-build for target ${_p_TARGET}")
++#      add_custom_command( TARGET ${_p_TARGET} POST_BUILD
++ #                         COMMAND ${CMAKE_COMMAND} -E tar xv ${_p_NAME} )
++ #   endif()
+ 
+ endfunction(ecbuild_get_test_data)
+ 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/eccodes.git



More information about the debian-science-commits mailing list