Project

General

Profile

Revision dd62ff27

View differences:

regression_tests/CMakeLists.txt
1 1
cmake_minimum_required(VERSION 2.8.4)
2 2
project (lustrec-tests)
3
include( CTest )
4 3
include(FindJava)
5 4

  
6 5

  
......
12 11

  
13 12
if(LUSTRE_COMPILER)
14 13
  message(STATUS "lustrec: ${LUSTRE_COMPILER} ")
14
  execute_process(COMMAND ${LUSTRE_COMPILER} -version
15
        OUTPUT_VARIABLE LUSTRE_COMPILER_VERSION
16
        OUTPUT_STRIP_TRAILING_WHITESPACE)
17

  
15 18
else(LUSTRE_COMPILER)
16 19
  message(FATAL_ERROR "lustrec not found")
17 20
endif(LUSTRE_COMPILER)
......
81 84

  
82 85
# set(SUBPROJ "master")
83 86
message("subproj: ${SUBPROJ}")
84
set(BUILDNAME "${LUSTRE_COMPILER_VERSION}" CACHE STRING "Compiled with
85
${LUSTRE_COMPILER_VERSION} ")
87
set(BUILDNAME "${LUSTRE_COMPILER_VERSION}" CACHE STRING "Compiled with ${LUSTRE_COMPILER_VERSION} ")
86 88

  
87 89

  
90
include( CTest )
88 91

  
regression_tests/CTestConfig.cmake
5 5
## # The following are required to submit to the CDash dashboard:
6 6
##   ENABLE_TESTING()
7 7
##   INCLUDE(CTest)
8

  
8
set(BUILDNAME "${LUSTRE_COMPILER_VERSION}")
9 9
set(CTEST_PROJECT_NAME "lustrec-${SUBPROJ}")
10 10
set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC")
11 11

  
12 12
set(CTEST_DROP_METHOD "https")
13 13
set(CTEST_DROP_SITE "cavale.enseeiht.fr")
14
set(CTEST_DROP_LOCATION "/CDash/public/submit.php?project=lustrec-${SUBPROJ}")
14
set(CTEST_DROP_LOCATION "/CDash/submit.php?project=lustrec-${SUBPROJ}")
15 15
set(CTEST_DROP_SITE_CDASH TRUE)
16 16

  

Also available in: Unified diff