added dashboard configuration

This commit is contained in:
Bryan Herman 2014-03-06 13:20:46 -05:00
parent 278e3993f1
commit b52cb92c33
2 changed files with 15 additions and 2 deletions

View file

@ -220,8 +220,8 @@ endif()
# Regression tests
#===============================================================================
# This allows mpi test to work
enable_testing()
# This allows for dashboard configuration
include(CTest)
# Get a list of all the tests to run
file(GLOB_RECURSE TESTS ${CMAKE_CURRENT_SOURCE_DIR}/../tests/test_*.py)

13
src/CTestConfig.cmake Normal file
View file

@ -0,0 +1,13 @@
## 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 uses Dart and the Cdash dashboard
## ENABLE_TESTING()
## INCLUDE(CTest)
set(CTEST_PROJECT_NAME "OpenMC")
set(CTEST_NIGHTLY_START_TIME "05:00:00 UTC")
set(CTEST_DROP_METHOD "http")
set(CTEST_DROP_SITE "neutronbalance.mit.edu")
set(CTEST_DROP_LOCATION "/CDash/submit.php?project=OpenMC")
set(CTEST_DROP_SITE_CDASH TRUE)