[Cdash] Submitting images as part of test results to dashboard

David Cole david.cole at kitware.com
Mon Jun 13 23:58:01 UTC 2011

If I force one of the VTK tests to fail (by hand-editing the expected
image), I get output on the stdout from the test that contains lines like

<DartMeasurement name="ImageError"
<DartMeasurement name="BaselineImage"
Failed Image Test : 8000
<DartMeasurementFile name="TestImage"
<DartMeasurementFile name="DifferenceImage"
<DartMeasurementFile name="ValidImage"
<DartMeasurement name="WallTime"
<DartMeasurement name="CPUTime"

So... the way to get image files up to CDash so that you can see them on the
test result page is to emit similar lines on stdout from your test:

  <DartMeasurementFile name="NameYouWantToSee"
  <DartMeasurementFile name="NameYouWantToSee"

Hope this helps,

On Thu, Jun 9, 2011 at 9:28 PM, Anoop Mullur <mullur1729 at gmail.com> wrote:

> Hi,
> I am using CDash 1.8.2, and was trying to submit a .jpg or .png image to
> the dashboard using this command when I create the test in my CMakeLists
> file.
> set_tests_properties(testname PROPERTY ATTACHED_FILES name.jpg)
> When I looked at the dashboard, the file showed up as a bunch of characters
> and not an image. Is this the right way to do it?
> I have seen images uploaded on the Paraview or VTK public dashboard, so I
> guess this is possible.
> Thanks,
> Anoop
> _______________________________________________
> Cdash mailing list
> Cdash at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/cdash
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cdash/attachments/20110613/066140ad/attachment-0003.htm>

More information about the CDash mailing list