[CMake] simple ctest

David Cole david.cole at kitware.com
Wed Nov 4 10:07:38 EST 2009


What version of ctest? What OS?

i.e. : what is the output of:
ctest --version
which ctest


On Wed, Nov 4, 2009 at 7:23 AM, <th.tom at gmx.de> wrote:

> I did the following steps:
>
> 1) creating script.cmake:
> SET ( SOURCE_DIR "C:/my/sources/" )
> SET ( CTEST_BINARY_DIRECTORY ${SOURCE_DIR}/build )
> SET ( CTEST_SOURCE_DIRECTORY ${SOURCE_DIR} )
>
> MESSAGE ( "Actual path is ${CTEST_SOURCE_DIRECTORY}" )
> MESSAGE ( "Actual binary path is ${CTEST_BINARY_DIRECTORY}" )
>
> CTEST_START ( Nightly )
> CTEST_CONFIGURE ( BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res )
> CTEST_BUILD ( BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res )
> CTEST_SUBMIT ( RETURN_VALUE res )
>
> Then I start
> ctest -S script.cmake
>
> Then I got a wiered output:
> Actual path is C:/my/sources/
> Actual binary path is C:/my/sources/build
> Actual path is C:/my/sources/
> Actual binary path is C:/my/sources/build
> Actual path is C:/my/sources/
> Actual binary path is C:/my/sources/build
> Actual path is C:/my/sources/
> Actual binary path is C:/my/sources/build
> Actual path is C:/my/sources/
> Actual binary path is C:/my/sources/build
> Actual path is C:/my/sources/
> Actual binary path is C:/my/sources/build
> Actual path is C:/my/sources/
> Actual binary path is C:/my/sources/build
> ...
>
> Then I delete the two output lines and start ctest again
>
> The output is the same!!! As if the script has not been changed
> I deleted the Testing directory - but no change
>
> What is going wrong here?
>
> - Tom
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20091104/ad422b33/attachment.htm>


More information about the CMake mailing list