[CMake] Trouble starting ctest run with intention of reportingto dashboard

Bill Hoffman bill.hoffman at kitware.com
Wed Jun 10 15:59:28 EDT 2009


Steve Huston wrote:

> 
> You should be able to now.
> 

Yup.

Here is how you run it:

hoffman at CORRIN ~/Projects/qpid/qpid/cpp
$ cat myscriptnew.cmake
set (CTEST_SOURCE_DIRECTORY c:/hoffman/Projects/qpid/qpid/cpp)
set (CTEST_BINARY_DIRECTORY c:/hoffman/Projects/qpid/qpid/cpp/rhel5)
SET(CTEST_CMAKE_GENERATOR "Unix Makefiles")
SET(CTEST_BUILD_COMMAND make)
set(CTEST_SITE "Kitware")
CTEST_START("Experimental")
CTEST_CONFIGURE(BUILD "${CTEST_BINARY_DIRECTORY}")
CTEST_BUILD(BUILD "${CTEST_BINARY_DIRECTORY}")
CTEST_TEST(BUILD "${CTEST_BINARY_DIRECTORY}")
CTEST_SUBMIT()

hoffman at CORRIN ~/Projects/qpid/qpid/cpp
$ /cygdrive/c/Program\ Files/CMake\ 2.6/bin/ctest.exe -S 
myscriptnew.cmake -VV

And here is the build:
http://www.riverace.com/CDash-1.4.2/viewConfigure.php?buildid=17


-Bill


More information about the CMake mailing list