[CMake] CTest and SVN: doesn't checkout

Salvatore Iovene salvatore.iovene+cmake at googlemail.com
Wed Nov 21 02:14:46 EST 2007


Hi,
when issuing "ctest -S my_script.cmake" I get the following error:

CMake Error: The source directory "/work/nightly/libraries" does not
appear to contain CMakeLists.txt.

Why doesn't the script checkout the code?
Here's the script:

SET(CTEST_SOURCE_DIRECTORY "/work/nightly/libraries")
SET(CTEST_BINARY_DIRECTORY "/work/nightly/prefix/movialsip")

SET(CTEST_SVN_COMMAND "svn")
SET(CTEST_SVN_CHECKOUT  "${CTEST_SVN_COMMAND} co
svn+ssh://svn_server/subversion/im/trunk/libraries
\"${CTEST_SOURCE_DIRECTORY}\"")

# which ctest command to use for running the dashboard
SET(CTEST_COMMAND "ctest -D Nightly")

# what cmake command to use for configuring this dashboard
SET(CTEST_CMAKE_COMMAND "cmake")

# should ctest wipe the binary tree before running
SET (CTEST_START_WITH_EMPTY_BINARY_DIRECTORY TRUE)



Thanks!

-- 
Salvatore Iovene
http://www.iovene.com/
Key Fingerprint: 5647 944D D5AD 2E87 00B4  7D54 2864 359D FF20 16D8


More information about the CMake mailing list