Am 12.05.2010 09:02 schrieb Vladimir Grebenschikov <[email protected]>:
>hi
>
> Do you have any results regarding converting ctest results into jnuit
> ones (or any other compatible with hudson) ?

I got some bascis to work, but never finished it.  I just attach the
little test project I used back then.

The cmake side of this is pretty straight forward.  Look at
cmake/CTestResultTransform.cmake and ctest_runner.cmake.
This:
 ctest -VV -S cmake_runner.cmake
will run everything and results ctest_build/junit.xml.

On the hudson side you have to run the above as a shell command step.

This is all easy, the time consuming part is to to write a proper xsl
file, if you got no experience with xsl like me :-).  This is why I
lost interest, since ctest -> cdash just worked for me (even if hudson
is much nicer).

Best,
 -- Maik

Attachment: ctest-junit.tar.gz
Description: GNU Zip compressed data

_______________________________________________
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

Reply via email to