[CMake] Customizing Test.xml
David Cole
david.cole at kitware.com
Wed Jan 16 14:31:39 EST 2008
You could use the same technique found in VTK/Rendering/vtkTesting.cxx. Grep
for DartMeasurement and mimic what VTK does when one of its tests results in
a DifferenceImage.
Anything listed as a DartMeasurement in xml form in your test's output gets
transformed to appropriate entries in Test.xml.
So -- just modify your test to output some appropriate DartMeasurement text
and you should be all set.
HTH,
David
On 1/16/08, Sylvain Jaume <sylvainjaume at gmail.com> wrote:
>
> Hello,
>
> How can I customize Test.xml generated by ctest?
> I'd like to add the difference image when a test fails.
>
> Thanks.
> Sylvain
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20080116/8ff0d314/attachment.htm
More information about the CMake
mailing list