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 this:<div><br></div><div><div><DartMeasurement name="ImageError" type="numeric/double">8000</DartMeasurement></div>
<div><DartMeasurement name="BaselineImage" type="text/string">Standard</DartMeasurement></div><div>Failed Image Test : 8000</div><div><DartMeasurementFile name="TestImage" type="image/png">C:/Users/.../Testing/Temporary/BoxWidget.png</DartMeasurementFile></div>
<div><DartMeasurementFile name="DifferenceImage" type="image/png">C:/Users/.../Testing/Temporary/BoxWidget.diff.png</DartMeasurementFile></div><div><DartMeasurementFile name="ValidImage" type="image/png">C:/Users/.../VTKData/Baseline/Widgets/BoxWidget.png</DartMeasurementFile></div>
<div><DartMeasurement name="WallTime" type="numeric/double">0.0880001</DartMeasurement></div><div><DartMeasurement name="CPUTime" type="numeric/double">0.088</DartMeasurement></div>
<div><div><br></div><div><br></div><div>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:</div><div><br></div><div><br></div><div>
<DartMeasurementFile name="NameYouWantToSee" type="image/png">C:/full/path/to/photo.png</DartMeasurementFile></div></div><div><div><div> <DartMeasurementFile name="NameYouWantToSee" type="image/jpg">C:/full/path/to/photo.jpg</DartMeasurementFile></div>
</div></div><div><br></div><div><br></div>Hope this helps,</div><div>David</div><div><br></div><div><br><div class="gmail_quote">On Thu, Jun 9, 2011 at 9:28 PM, Anoop Mullur <span dir="ltr"><<a href="mailto:mullur1729@gmail.com">mullur1729@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br><div>Hi,</div><div><br></div><div>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.</div>
<div><br></div><div>set_tests_properties(testname PROPERTY ATTACHED_FILES name.jpg)</div>
<div><br></div><div>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?</div><div><br></div><div>I have seen images uploaded on the Paraview or VTK public dashboard, so I guess this is possible.</div>
<div><br></div><div>Thanks,</div><div><br></div><font color="#888888"><div>Anoop</div>
</font><br>_______________________________________________<br>
Cdash mailing list<br>
<a href="mailto:Cdash@public.kitware.com">Cdash@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/cdash" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/cdash</a><br>
<br></blockquote></div><br></div>