[CMake] CTest results to XML file

norulez norulez at me.com
Sun Jul 4 10:58:34 EDT 2010


Thanks, this is what I need

Am 30.06.2010 um 17:16 schrieb Chris Hillery <chillery-cmake at lambda.nu>:

> Try this:
> 
> ctest -T Test
> 
> This will generate the same Test.xml logfile as running ctest -D, but it won't do all the other dashboard steps (update, configure, build...).
> 
> Ceej
> aka Chris Hillery
> 
> On Wed, Jun 30, 2010 at 3:46 AM, David Cole <david.cole at kitware.com> wrote:
> On Wed, Jun 30, 2010 at 6:22 AM, David Cole <david.cole at kitware.com> wrote:
> On Wed, Jun 30, 2010 at 5:18 AM, norulez <norulez at me.com> wrote:
> Hello,
> 
> is there a way to write the CTest result to a XML file?
> 
> I'm thinking the answer to this one just has to be "yes"...
> 
> 
> 
> On Wed, Jun 30, 2010 at 6:28 AM, norulez <norulez at me.com> wrote:
> How can I do so? Maybe you can give me an example, when I run CTest on the command line?
> 
> 
> Please keep discussion on the list.
> 
> If you run "ctest -D Experimental" in a CMake-based build tree, it will run a dashboard including configure, build and test steps. The results are recorded in xml files in a subdirectory of ${CMAKE_BINARY_DIR}/Testing. Look there first.
> 
> Otherwise, if you are talking about ctest's direct stdout output..... then if you want that in an xml form, you will have to wrap it with something.
> 
> Or dig into the source (that's why it's open source) and make source code changes to get it to do what you want.
> 
> Really, if you want a useful answer, you're going to have to be more specific with your question. From your initial post, we really have absolutely no idea about the context of your question. So ... hopefully this is useful information for you.
> 
> 
> HTH,
> David
> 
> 
> _______________________________________________
> 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/20100704/4a8dfb7e/attachment.htm>


More information about the CMake mailing list