> What version of ctest? What OS? I am actually working on Windows XP with ctest version 2.6-patch 4
I changed over to learn the windows batch a bit and I created a short script to do the work, for some things I planed to integrate into ctest. The rest works like a charm (configuring, building, reporting, packaging etc) I am not sure about the status of ctest scripting - is it widely use? -tom PS: @David, sorry for the double post > > i.e. : what is the output of: > ctest --version > which ctest > > > On Wed, Nov 4, 2009 at 7:23 AM, <th....@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