Permalink
Browse files

Cdash: Adding logic in CMakeLists and auxillary file for posting to C…

…Dash
  • Loading branch information...
agsalin committed Jul 20, 2015
1 parent 5acbdab commit c7e5dec93fe972a61cd2ed39b9ff398fb779145c
Showing with 21 additions and 2 deletions.
  1. +5 −2 CMakeLists.txt
  2. +16 −0 CTestConfig.cmake
@@ -171,6 +171,11 @@ if (SET_COMPILERS_AUTOMATICALLY)
PROJECT(Albany)
endif()

# AGS: Adding these lines so Ctest can be run to submit to cdash dashboard
# Uses CTestConfig.cmake file for Cdash info.
ENABLE_TESTING()
INCLUDE(CTest)

set(ALBANY_ENABLE_FORTRAN ON CACHE BOOL "enable fortran" )

IF (CMAKE_Fortran_COMPILER AND ALBANY_ENABLE_FORTRAN) # Enable Fortran if it is enabled in Trilinos.
@@ -1047,8 +1052,6 @@ endif(DOXYGEN_FOUND)

add_subdirectory(src)

enable_testing()

# Timeout real long running tests

IF(ALBANY_CTEST_TIMEOUT)
@@ -0,0 +1,16 @@
## This file should be placed in the root directory of your project.
## Then modify the CMakeLists.txt file in the root directory of your
## project to incorporate the testing dashboard.
##
## # The following are required to submit to the CDash dashboard:
## ENABLE_TESTING()
## INCLUDE(CTest)

set(CTEST_PROJECT_NAME "Albany")
set(CTEST_NIGHTLY_START_TIME "00:00:00 EST")

set(CTEST_DROP_METHOD "http")
set(CTEST_DROP_SITE "cdash.sandia.gov")
set(CTEST_DROP_LOCATION "/CDash-2-3-0/submit.php?project=Albany")
set(CTEST_DROP_SITE_CDASH TRUE)

0 comments on commit c7e5dec

Please sign in to comment.