Project

General

Profile

« Previous | Next » 

Revision 07e37d22

Added by Hamza Bourbouh about 7 years ago

add testing script

View differences:

regression_tests/modules/helpfull_functions.cmake
30 30
  set (${OUTPUT} "${_TMP_STR}" PARENT_SCOPE)
31 31
endfunction()
32 32

  
33

  
34
function(download_zustre)
35
  message("Download latest version of zustre")
36

  
37
  find_package(Git QUIET)
38

  
39
  set(repo_url "https://github.com/coco-team/zustre.git")
40
  set(repo_dir "${CMAKE_CURRENT_SOURCE_DIR}/zustre")
41
  
42
  if(NOT EXISTS "${repo_dir}")
43
    set(ZUSTRE_CHECKOUT_COMMAND "${GIT_EXECUTABLE} clone ${repo_url} ${repo_dir}" PARENT_SCOPE)
44
  endif()
45
  #set(CTEST_UPDATE_COMMAND "${GIT_EXECUTABLE}")
46

  
47
  
48
  set(ZUSTRE_REPO "${repo_dir}" PARENT_SCOPE)
49
endfunction()

Also available in: Unified diff