[CMake] CTest, CVS and ssh keys

woofton_9 at eaglescrag.net woofton_9 at eaglescrag.net
Tue Jul 15 14:22:20 EDT 2008


Dear ctest (and cmake) users,

I have set up a CTest script like the one used in  
http://www.cmake.org/Wiki/CMake_Scripting_Of_CTest , along with an  
ssh-key.  I read this:  
http://www.cmake.org/pipermail/cmake/2006-July/010103.html and I tried  
some of what was said but when I run the CTest script it hangs:

-- Check for working C compiler: cl
-- Check for working C compiler: cl -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: cl
-- Check for working CXX compiler: cl -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found wxWidgets: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: D:/Programming/Build/Test/NIREP
    Site: karachi
    Build name: Win32-XP-vs8-Debug
Create new tag: 20080715-1754 - Continuous
Start processing tests
Updating the repository
    Updating the repository: D:/Programming/Source/Test/NIREP
    Use CVS repository type



I am using a windows machine and I believe I need to specify the  
location of the private ssh key in the CTest script but I am not sure  
how to do that.

This is the CTest script I am using:

SET (CTEST_SOURCE_DIRECTORY "D:/Programming/Source/Test/NIREP")
SET (CTEST_BINARY_DIRECTORY "D:/Programming/Build/Test/NIREP")

SET (CTEST_CVS_COMMAND "C:/Program Files/TortoiseCVS/cvs.exe")
SET (CTEST_CVS_CHECKOUT  "${CTEST_CVS_COMMAND}  
-d:ssh:${CVSLOCATION}:/home/research/cvsroot co  
-d\"${CTEST_SOURCE_DIRECTORY}\" NIREP" )

# which ctest command to use for running the dashboard
SET (CTEST_COMMAND
   "D:/Program Files/CMake 2.6/bin/ctest.exe -D Continuous"
   )

# what cmake command to use for configuring this dashboard
SET (CTEST_CMAKE_COMMAND
   "D:/Program Files/CMake 2.6/bin/cmake.exe"
   )

SET (CTEST_CONTINUOUS_DURATION 600)
SET (CTEST_CONTINUOUS_MINIMUM_INTERVAL 10)
SET (CTEST_START_WITH_EMPTY_BINARY_DIRECTORY_ONCE 1)


####################################################################
# The values in this section are optional you can either
# have them or leave them commented out
####################################################################

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

# this is the initial cache to use for the binary tree, be careful to escape
# any quotes inside of this string if you use it
SET (CTEST_INITIAL_CACHE "
SITE:STRING=karachi
BUILDNAME:STRING=Win32-XP-vs8-Debug
CMAKE_GENERATOR:INTERNAL=Visual Studio 8 2005
CTEST_BUILD_CONFIGURATION:STRING=Debug
BUILD_SHARED_LIBS:BOOL=OFF
ITK_DIR:STRING=D:/Develop/binary/itk
VTK_DIR:STRING=D:/Develop/binary/vtk


CVSCOMMAND:FILEPATH=C:/Program Files/TortoiseCVS/cvs.exe
CVS_UPDATE_OPTIONS:STRING=-d -A -P
")

# set any extra environment variables to use during the execution of  
the script here:
SET( CTEST_ENVIRONMENT "CVS_RSH=ssh" )



Thank you for any help or hints.

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the CMake mailing list