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 <[EMAIL PROTECTED]> 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
> [email protected]
> http://www.cmake.org/mailman/listinfo/cmake
>
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to