Skip to content

Commit

Permalink
Trying to get my own cdash server to work
Browse files Browse the repository at this point in the history
  • Loading branch information
toastedcrumpets committed Nov 7, 2014
1 parent 4601f78 commit 3c74a78
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
5 changes: 1 addition & 4 deletions CTestConfig.cmake
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
## 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 "DynamOMD")
set(CTEST_PROJECT_NAME "DynamO")
set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC")

set(CTEST_DROP_METHOD "http")
Expand Down
13 changes: 6 additions & 7 deletions nightly.cmake
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
##This is a script file to automate compilation and execution of
##DynamO tests. This is used for continuous integration testing.

set(BRANCH "experimental")
#Please set the following to a description of the test system (i.e. CentOS6.5)
set(CTEST_SITE "UserSite")
set(CTEST_SITE "UserComputer")
set(CTEST_BUILD_NAME "linux-gcc-default")
set(CTEST_CMAKE_GENERATOR "Unix Makefiles")
set(CTEST_BUILD_CONFIGURATION "Release")

set(BRANCH "experimental")

#Please set the following to a description of the test system (i.e. CentOS6.5)
##########################################################################
# Site-specific setup
##########################################################################
set(CTEST_SOURCE_DIRECTORY "/home/mjki2mb2/CTest/dynamo/${BRANCH}/source")
set(CTEST_BINARY_DIRECTORY "/home/mjki2mb2/CTest/dynamo/${BRANCH}/build")

set(CTEST_CMAKE_GENERATOR "Unix Makefiles")
set(CTEST_BUILD_CONFIGURATION "Release")
set(CTEST_BUILD_FLAGS "-j1")

ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY})
SET (CTEST_COMMAND "ctest")
Expand All @@ -33,7 +33,6 @@ endif()
set(CTEST_UPDATE_COMMAND "${CTEST_GIT_COMMAND}")

set(CTEST_CONFIGURE_COMMAND "${CMAKE_COMMAND} -DCMAKE_BUILD_TYPE:STRING=${CTEST_BUILD_CONFIGURATION}")
set(CTEST_CONFIGURE_COMMAND "${CTEST_CONFIGURE_COMMAND} -DWITH_TESTING:BOOL=ON \"-DCTEST_BUILD_FLAGS:STRING=${CTEST_BUILD_FLAGS}\"")
set(CTEST_CONFIGURE_COMMAND "${CTEST_CONFIGURE_COMMAND} \"-G${CTEST_CMAKE_GENERATOR}\"")
set(CTEST_CONFIGURE_COMMAND "${CTEST_CONFIGURE_COMMAND} \"${CTEST_SOURCE_DIRECTORY}\"")

Expand Down

0 comments on commit 3c74a78

Please sign in to comment.