[CMake] CTest XML format
Gerhard Gappmeier
gerhard.gappmeier at ascolab.com
Mon Nov 17 10:04:06 EST 2014
Hi,
I was able to figure out my first question.
The first two bytes of the binary data was "78 9C".
This is the file header of Zlib data with default compression.
So by adding the correct gzip header manually you can decompress it.
Assume the base64 data from XML is saved in ~/test.base64 you can unpack
the data this way:
base64 -d ~/test.base64 > ~/test.bin
printf "\x1f\x8b\x08\x00\x00\x00\x00\x00" | cat - ~/test.bin | gzip -dc
Am 17.11.2014 11:20, schrieb Gerhard Gappmeier:
> Hi all,
>
> we want to archive our unittest results, code coverage etc. when we
> release a product.
> Therefor we want to store the generated XML files in TestLink.
>
> However when we need to look at the results again we need to display
> them somehow.
> So I have some questions regarding the format:
>
> 1.) I found this link: http://public.kitware.com/Wiki/CDash:XML
> What is missing for me at the moment is a description of the Measurement
> Value field in Test.xml
> My files contain values using encoding="Base64" and compression="gzip".
> I base64 decoded these values and tried to gunzip, but it is not a valid
> gzip file.
> I also tried pure deflate, but also no success.
> So how are these values encoded/compressed in detail?
>
> 2.) Is there a way to re-import these values later on into CDash for
> inspection?
>
> 3.) Is there another GUI for inspecting these files? (Configure, Build
> and Test.xml)
>
> 4.) Do you know of any import filter for TestLink, so that the results
> could be directly be shown inside TestLink?
> http://testlink.org/
>
> regards,
> Gerhard.
>
>
>
More information about the CMake
mailing list