Boost logo

Boost-Commit :

From: troy_at_[hidden]
Date: 2007-05-22 12:17:43


Author: troy
Date: 2007-05-22 12:17:42 EDT (Tue, 22 May 2007)
New Revision: 4179
URL: http://svn.boost.org/trac/boost/changeset/4179

Log:

initial tweaks for ctest and dartboards

Added:
   sandbox/troy/boost_1_34_0/DartConfig.cmake
Text files modified:
   sandbox/troy/boost_1_34_0/tools/build/CMake/boost-testing.cmake | 6 ------
   1 files changed, 0 insertions(+), 6 deletions(-)

Added: sandbox/troy/boost_1_34_0/DartConfig.cmake
==============================================================================
--- (empty file)
+++ sandbox/troy/boost_1_34_0/DartConfig.cmake 2007-05-22 12:17:42 EDT (Tue, 22 May 2007)
@@ -0,0 +1,31 @@
+# while developing, nice to start your nightly builds with the very latest
+# code
+SET(CTEST_START_WITH_EMPTY_BINARY_DIRECTORY TRUE)
+# fixme on windows
+EXECUTE_PROCESS(COMMAND /bin/date "+%H:%M:%S %Z" OUTPUT_VARIABLE CURRENT_TIME)
+SET(NIGHTLY_START_TIME ${CURRENT_TIME})
+
+#set(NIGHTLY_START_TIME "23:30:00 EDT")
+
+set(DROP_METHOD "xmlrpc")
+#set(DROP_SITE "http://public.kitware.com:8081")
+set(DROP_SITE "http://dart.resophonic.com:8081")
+set(DROP_LOCATION "boost_1_34_0")
+
+SET(NOTES_DIR ${CMAKE_BINARY_DIR}/Testing/Notes)
+FILE(MAKE_DIRECTORY(${NOTES_DIR})
+
+
+# put various stuff into build notes
+EXEC_PROGRAM(uname ARGS -a > ${NOTES_DIR}/uname.txt OUTPUT_VARIABLE NOWHERE)
+EXEC_PROGRAM(/usr/bin/env ARGS > ${NOTES_DIR}/env.txt OUTPUT_VARIABLE NOWHERE)
+EXEC_PROGRAM(${CMAKE_CXX_COMPILER} --version > ${NOTES_DIR}/compiler-version.txt OUTPUT_VARIABLE NOWHERE)
+
+EXEC_PROGRAM(svn ARGS info ${CMAKE_SOURCE_DIR} | grep Revision | cut -c 11- OUTPUT_VARIABLE SVN_REVISION)
+
+EXEC_PROGRAM(${CMAKE_C_COMPILER} ARGS -dumpversion OUTPUT_VARIABLE COMPILER_VERSION)
+EXEC_PROGRAM(uname ARGS -s OUTPUT_VARIABLE OSTYPE)
+EXEC_PROGRAM(uname ARGS -r OUTPUT_VARIABLE OSVERSION)
+EXEC_PROGRAM(uname ARGS -p ARCH)
+SET(BUILDNAME ${OSTYPE}-${OSVERSION}/${ARCH}/gcc-${COMPILER_VERSION})
+

Modified: sandbox/troy/boost_1_34_0/tools/build/CMake/boost-testing.cmake
==============================================================================
--- sandbox/troy/boost_1_34_0/tools/build/CMake/boost-testing.cmake (original)
+++ sandbox/troy/boost_1_34_0/tools/build/CMake/boost-testing.cmake 2007-05-22 12:17:42 EDT (Tue, 22 May 2007)
@@ -36,12 +36,6 @@
 # in cmakeland but we might not like this...
 #
 option(BUILD_TESTING "Enable testing" OFF)
-if(BUILD_TESTING)
- set(NIGHTLY_START_TIME "23:30:00 EDT")
- set(DROP_METHOD "xmlrpc")
- set(DROP_SITE "http://public.kitware.com:8081")
- set(DROP_LOCATION "boost")
-endif(BUILD_TESTING)
 include(CTest)
 
 macro(boost_test_parse_args testname)


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk