[CMake] Build on one machine, test on multiple

Martin Apel martin.apel at simpack.de
Fri May 28 03:29:01 EDT 2010


Hi Karthik,

I was aware, that I can start ctest this way. However from my
understanding this requires at least the whole build tree to be at the
same location
as on the build machine. I had hoped to get away with copying a subset
of the generated files somehow, possibly to a different directory.

Regards,

Martin

On 05/28/10 09:05, Karthik Krishnan wrote:
> On Fri, May 28, 2010 at 12:04 PM, Martin Apel <martin.apel at simpack.de
> <mailto: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/85844959/attachment.htm>


More information about the CMake mailing list