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 <[email protected]> wrote: > On Wed, Jun 30, 2010 at 6:22 AM, David Cole <[email protected]>wrote: > >> On Wed, Jun 30, 2010 at 5:18 AM, norulez <[email protected]> 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 <[email protected]> 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 >
_______________________________________________ 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
