With this declarative style script, the inner ctest run via CTEST_COMMAND
will use the CVSCOMMAND cache entry... CTEST_CVS_COMMAND is used when you
use the CTEST_UPDATE() command within a command-based script (as opposed to
a declarative script). Try adding:

CVSCOMMAND:STRING=/usr/bin/git-clone

to the cache section of your script and see if that changes it...


HTH,
David


On 3/5/08, Andreas Schneider <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> has someone CTest running with git? I can clone the repository, but it
> always
> tries to use cvs to update. See attached config file.
>
>
>         -- andreas
>
>
> --
> http://www.cynapses.org/ - cybernetic synapses
>
>
> set(CTEST_SOURCE_DIRECTORY "/tmp/testing/csync/nightly/source/")
> set(CTEST_BINARY_DIRECTORY "/tmp/testing/csync/nightly/build/")
>
> #set(CTEST_COMMAND "ctest -D NightlyUpdate -VV")
> set(CTEST_COMMAND
>   "/usr/bin/ctest -D NightlyStart -D NightlyUpdate -D NightlyConfigure -D
> NightlyBuild -D NightlyTest -D NightlySubmit"
>   "/usr/bin/ctest -D NightlyMemCheck -D NightlySubmit"
> )
>
> set(CTEST_START_WITH_EMPTY_BINARY_DIRECTORY TRUE)
>
> set(CTEST_CMAKE_COMMAND "/usr/bin/cmake")
> set(CTEST_UPDATE_COMMAND "/usr/bin/git-pull")
>
> set(CTEST_CVS_COMMAND "/usr/bin/git-clone")
>
> set(CTEST_CVS_CHECKOUT "/usr/bin/git-clone git://git.csync.org/csync.git
> ${CTEST_SOURCE_DIRECTORY}")
>
> set(CTEST_INITIAL_CACHE "
> UNIT_TESTING:BOOL=ON
> MAKECOMMAND:STRING=make
> CMAKE_BUILD_TYPE:STRING=Profiling
> CMAKE_GENERATOR:INTERNAL=Unix Makefiles
> BUILDNAME:STRING=gcc43-x86_64
> SITE:STRING=maximegalon.suse.de
> ")
>
> # set any extra environment variables to use during the execution of the
> script here:
> set(CTEST_ENVIRONMENT "LC_ALL=en_US.UTF-8")
>
> _______________________________________________
> CMake mailing list
> [email protected]
> http://www.cmake.org/mailman/listinfo/cmake
>
>
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to