[Cdash] Fwd: Fwd: Dart2 to CDash migration
Julien Jomier
julien.jomier at kitware.com
Wed May 7 22:55:29 UTC 2008
In the previous example, the date time is not specified, that's why the
build is not showing up in CDash.
Take a look at the following file to get an idea of what the XML look like:
http://www.cdash.org/CDash/backup/BatchMake_purple.kitware_darwin-gcc4.0.1_20080506-0100-Nightly_Test.xml
Let us know if that works for you,
Julien
THE HIGHHAT wrote:
>> > $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.
> _______________________________________________
> Cdash mailing list
> Cdash at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/cdash
>
More information about the CDash
mailing list