There is no bug here. The BuildStamp should be of the expected format.<div><br></div><div>You could, as a courtesy, perhaps log when the BuildStamp cannot be parsed.</div><div><br></div><div>But the input file is incorrect: that's the root issue here.</div>
<div><br><br><div class="gmail_quote">On Mon, Jun 4, 2012 at 11:23 AM, Julien Jomier <span dir="ltr"><<a href="mailto:julien.jomier@kitware.com" target="_blank">julien.jomier@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Daniel,<br>
<br>
A coverage is usually associated with a build. In your case, since it's not, you should specify the BuildStamp as follow<br>
<br>
BuildStamp="20120603-0100-<u></u>Nightly"<br>
<br>
This should do the trick. If you have time to log a bug report at <a href="http://www.cdash.org/Bug" target="_blank">www.cdash.org/Bug</a> that would be great.<br>
<br>
Thanks,<br>
Julien<div class="im HOEnZb"><br>
<br>
On 04/06/2012 16:57, Daniel Haehn wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
I try to submit coverage information to my cdash as the following XML:<br>
<br>
<?xml version="1.0" ?><br>
<Site BuildName="Darwin-11.3.0" BuildStamp="1-debug"<br>
Hostname="<a href="http://berlin.tch.harvard.edu" target="_blank">berlin.tch.harvard.<u></u>edu</a>" Name="<a href="http://berlin.tch.harvard.edu" target="_blank">berlin.tch.harvard.edu</a>"><br>
<Coverage><br>
<StartDateTime>Jun 04 14:43 EST</StartDateTime><br>
<EndDateTime>Jun 04 14:43 EST</EndDateTime><br>
<LOCTested>1881</LOCTested><br>
<LOCUntested>1999</<u></u>LOCUntested><br>
<LOC>3880</LOC><br>
<PercentCoverage>48</<u></u>PercentCoverage><br>
</Coverage><br>
</Site><br>
<br>
But it doesn't work - nothing appears. I also tried to submit the XML<br>
from the cdash xml examples which includes coverage for multiple files<br>
( <a href="http://www.cmake.org/Wiki/images/c/c6/ExampleFiles.zip" target="_blank">http://www.cmake.org/Wiki/<u></u>images/c/c6/ExampleFiles.zip</a>) with no<br>
success.<br>
<br>
Do you know what I am doing wrong? I tried it on our local CDash 2.0.2<br>
and also on <a href="http://my.cdash.org" target="_blank">my.cdash.org</a> 2.1.0 - nothing appears in the CDash log.<br>
<br>
Thanks,<br>
Daniel<br>
<br>
</blockquote></div><div class="HOEnZb"><div class="h5">
______________________________<u></u>_________________<br>
Cdash mailing list<br>
<a href="mailto:Cdash@public.kitware.com" target="_blank">Cdash@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/cdash" target="_blank">http://public.kitware.com/cgi-<u></u>bin/mailman/listinfo/cdash</a><br>
</div></div></blockquote></div><br></div>