# HG changeset patch # User Sebastien Decugis # Date 1277795288 -32400 # Node ID 69ec5dcc1fb299551f77d4dfedeb0188a56bdaee # Parent bb470dce2276b54ed9764c55fdd7533660576fc7 Fix a couple of glinches diff -r bb470dce2276 -r 69ec5dcc1fb2 contrib/nightly_tests/README --- a/contrib/nightly_tests/README Tue Jun 29 15:56:05 2010 +0900 +++ b/contrib/nightly_tests/README Tue Jun 29 16:08:08 2010 +0900 @@ -15,7 +15,7 @@ 2) Create a directory ~/fDtests $ cd -$ make fDtests +$ mkdir fDtests $ cd fDtests 3) Retrieve the runtests.sh script and save in this directory diff -r bb470dce2276 -r 69ec5dcc1fb2 contrib/nightly_tests/alldefault.conf --- a/contrib/nightly_tests/alldefault.conf Tue Jun 29 15:56:05 2010 +0900 +++ b/contrib/nightly_tests/alldefault.conf Tue Jun 29 16:08:08 2010 +0900 @@ -2,4 +2,4 @@ # Do not pass any parameter to cmake set(CTEST_BUILD_OPTIONS "") -set(CTEST_BUILD_NAME "Default CMake options") +set(CTEST_BUILD_NAME "Default") diff -r bb470dce2276 -r 69ec5dcc1fb2 contrib/nightly_tests/runtests.sh --- a/contrib/nightly_tests/runtests.sh Tue Jun 29 15:56:05 2010 +0900 +++ b/contrib/nightly_tests/runtests.sh Tue Jun 29 16:08:08 2010 +0900 @@ -16,7 +16,8 @@ # the name of the build slave. # Exemple: SET(CTEST_SITE "Ubuntu-Lucid-64b") if [ ! -e $ROOTDIR/local.cmake ]; then - echo "Missing $ROOTDIR/local.cmake file"; + echo "Missing $ROOTDIR/local.cmake file, generating one (edit as needed, and run the script again)"; + echo "SET(CTEST_SITE \""`hostname --fqdn`"\")" > $ROOTDIR/local.cmake exit 1; fi @@ -53,17 +54,18 @@ # Path name, build configuration, ... cat >> $WORKDIR/$t/CTestScript.cmake << EOF ########################## - SET(CTEST_SOURCE_DIRECTORY "$WORKDIR/source") + SET(CTEST_SOURCE_DIRECTORY "$ROOTDIR/source") SET(CTEST_BINARY_DIRECTORY "$WORKDIR/$t/build") set(CTEST_CMAKE_GENERATOR "Unix Makefiles") + set(CTEST_BUILD_CONFIGURATION "Profiling") - - set(CTEST_BUILD_OPTIONS "") - set(CTEST_BUILD_NAME "Unamed test profile") - set(WITH_MEMCHECK FALSE) set(WITH_COVERAGE TRUE) + + set(CTEST_BUILD_OPTIONS "") + set(CTEST_BUILD_NAME "Unamed") + ########################## EOF