Perhaps the repeated messages are from:<br>Were you perhaps setting CTEST_CONFIGURE_COMMAND to &quot;ctest -S
script.cmake&quot;?? -- that is definitely a big no-no, and will result in
recursion of running the script...<br><br><br>I get this when I try (but fail) to reproduce the issue:<br><br>C:\Users\david.cole\Dashboards\My Tests\scripts&gt;ctest --version<br>ctest version 2.8.0-rc5<br><br>C:\Users\david.cole\Dashboards\My Tests\scripts&gt;ctest -S script.cmake<br>
Actual path is C:/Users/david.cole/Dashboards/My Tests/scripts/Step7/<br>Actual binary path is C:/Users/david.cole/Dashboards/My Tests/scripts/Step7//build<br>WARNING: No nightly start time found please set in CTestConfig.cmake or DartConfig.cmake<br>
Cannot instantiate test handler ctest_configure<br>CMake Error at script.cmake:9 (CTEST_CONFIGURE):<br>  ctest_configure Configure command is not specified.  If this is a CMake<br>  project, specify CTEST_CMAKE_GENERATOR, or if this is not CMake project,<br>
  specify CTEST_CONFIGURE_COMMAND.<br><br><br>Cannot instantiate test handler ctest_build<br>CMake Error at script.cmake:10 (CTEST_BUILD):<br>  ctest_build CTEST_BUILD_COMMAND or CTEST_CMAKE_GENERATOR not specified.<br>  Please specify the CTEST_CMAKE_GENERATOR and CTEST_PROJECT_NAME if this is<br>
  a CMake project, or specify the CTEST_BUILD_COMMAND for cmake or any other<br>  project.<br><br><br>Error in read script: C:/Users/david.cole/Dashboards/My Tests/scripts/script.cmake<br><br><br>So.... following the message &quot;..... specify CTEST_CMAKE_GENERATOR, or .....&quot; I added the line to script.cmake:<br>
SET ( CTEST_CMAKE_GENERATOR &quot;Visual Studio 9 2008&quot; )<br><br>with the result:<br>C:\Users\david.cole\Dashboards\My Tests\scripts&gt;ctest -S script.cmake<br>Actual path is C:/Users/david.cole/Dashboards/My Tests/scripts/Step7/<br>
Actual binary path is C:/Users/david.cole/Dashboards/My Tests/scripts/Step7//build<br>WARNING: No nightly start time found please set in CTestConfig.cmake or DartConfig.cmake<br>Current Tag empty, this may mean NightlyStartTime / CTEST_NIGHTLY_START_TIME was not set correctly.<br>
Or maybe you forgot to call ctest_start() before calling ctest_configure().<br>Cannot open configure file<br>Error in read script: C:/Users/david.cole/Dashboards/My Tests/scripts/script.cmake<br><br><br>So..... I added:<br>
SET ( CTEST_NIGHTLY_START_TIME &quot;01:00:00 UTC&quot; )<br><br>with the result:<br>C:\Users\david.cole\Dashboards\My Tests\scripts&gt;ctest -S script.cmake<br>Actual path is C:/Users/david.cole/Dashboards/My Tests/scripts/Step7/<br>
Actual binary path is C:/Users/david.cole/Dashboards/My Tests/scripts/Step7//build<br>   Error when uploading file: C:/Users/david.cole/Dashboards/My Tests/scripts/Step7/build/Testing/20<br>091105-0100/Build.xml<br>   Error message was: couldn&#39;t connect to host<br>
   Problems when submitting via HTTP<br>Error in read script: C:/Users/david.cole/Dashboards/My Tests/scripts/script.cmake<br><br><br>(So it succeeded in the end except for submitting to an empty drop site....)<br><br><br>
But nothing like the repeated messages you were seeing. Were you perhaps setting CTEST_CONFIGURE_COMMAND to &quot;ctest -S script.cmake&quot;?? -- that is definitely a big no-no, and will result in recursion of running the script...<br>
<br><br>HTH,<br>David<br><br><br><div class="gmail_quote">On Wed, Nov 4, 2009 at 7:23 AM,  <span dir="ltr">&lt;<a href="mailto:th.tom@gmx.de">th.tom@gmx.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I did the following steps:<br>
<br>
1) creating script.cmake:<br>
SET ( SOURCE_DIR &quot;C:/my/sources/&quot; )<br>
SET ( CTEST_BINARY_DIRECTORY ${SOURCE_DIR}/build )<br>
SET ( CTEST_SOURCE_DIRECTORY ${SOURCE_DIR} )<br>
<br>
MESSAGE ( &quot;Actual path is ${CTEST_SOURCE_DIRECTORY}&quot; )<br>
MESSAGE ( &quot;Actual binary path is ${CTEST_BINARY_DIRECTORY}&quot; )<br>
<br>
CTEST_START ( Nightly )<br>
CTEST_CONFIGURE ( BUILD &quot;${CTEST_BINARY_DIRECTORY}&quot; RETURN_VALUE res )<br>
CTEST_BUILD ( BUILD &quot;${CTEST_BINARY_DIRECTORY}&quot; RETURN_VALUE res )<br>
CTEST_SUBMIT ( RETURN_VALUE res )<br>
<br>
Then I start<br>
ctest -S script.cmake<br>
<br>
Then I got a wiered output:<br>
Actual path is C:/my/sources/<br>
Actual binary path is C:/my/sources/build<br>
Actual path is C:/my/sources/<br>
Actual binary path is C:/my/sources/build<br>
Actual path is C:/my/sources/<br>
Actual binary path is C:/my/sources/build<br>
Actual path is C:/my/sources/<br>
Actual binary path is C:/my/sources/build<br>
Actual path is C:/my/sources/<br>
Actual binary path is C:/my/sources/build<br>
Actual path is C:/my/sources/<br>
Actual binary path is C:/my/sources/build<br>
Actual path is C:/my/sources/<br>
Actual binary path is C:/my/sources/build<br>
...<br>
<br>
Then I delete the two output lines and start ctest again<br>
<br>
The output is the same!!! As if the script has not been changed<br>
I deleted the Testing directory - but no change<br>
<br>
What is going wrong here?<br>
<br>
- Tom<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br>