[Cdash] Fwd: Fwd: Dart2 to CDash migration
THE HIGHHAT
thehighhat at gmail.com
Wed May 7 22:42:41 UTC 2008
> > $req->content( '<?xml version=1.0 encoding=utf-8 ?><DartSubmission
> > version=2.0
> createdby=Tester><Site>workstation</Site><BuildName>myBuild</BuildName><Track>Continuous</Track><Test><Name>test1</Name><Status>Passed</Status><Measurement
> > name=Message type=text/string>correct
> > result</Measurement></Test></DartSubmission>' );
>
> Try something like this:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <Site BuildName="Win32-vs71Rel" BuildStamp="20080506-0100-Nightly"
> Name="DASH1.kitware" Generator="ctest2.4-patch 8">
> </Site>
OK. I tried this. It not longer leaves error messages in
CDash/backup/cdash.log.
But, nothing shows up on the webpage. I tried to make adjustments to
add test results to the xml string. No success. I am using the xml
format specified in the Dart1.0.9 guide (Dart2) which works 100% with
Dart2. I thought the xml for test results was fully compatible.
Is there a webpage or doc that describes the CDash xml spec (for test
submission).
Even a generic example would help. Something like:
<?xml version="1.0" encoding="utf-8"?>
<DartSubmission version="0.8" createdby="User">
<Site>mySite</Site>
<BuildName>myBuild</BuildName>
<Track>Continuous</Track>
<DateTimeStamp>2008-05-07T16:12:00.000-0600</DateTimeStamp>
<Test>
<Name>myTestA</Name>
<Status>Passed</Status>
<Measurement name="Message" type="text/string">passed within
tolerance</Measurement>
</Test>
<Test>
<Name>myTestB</Name>
<Status>Failed</Status>
<Measurement name="Message" type="text/string">runtime
error</Measurement>
</Test>
</DartSubmission>
How do I translate it to work with CDash?
> Make sure the rss directory is writable by the webserver.
Done.
BTW, thx for the uber-fast responses.
More information about the CDash
mailing list