[CMake] Build on one machine, test on multiple

Karthik Krishnan karthik.krishnan at kitware.com
Fri May 28 03:05:43 EDT 2010


On Fri, May 28, 2010 at 12:04 PM, Martin Apel <martin.apel at simpack.de>wrote:

>  Hi Alok,
>
> the problem is not to start the testing process remotely. In my case it's
> no problem simply setting up the Windows task planner to execute some script
> every night. The problem is more, how do I tell ctest to perform its tests
> without having to perform the complete build as well.
>

Explicitly tell ctest to perform just the specific actions..

  ctest -T Test -T Submit

will perform just the test and submit parts. Equivalent line within your
CTest script would be something like

SET (CTEST_COMMAND
  "C:/Program Files/CMake/bin/ctest.exe -T Test -T Submit"
  )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100528/49fe39b3/attachment.htm>


More information about the CMake mailing list