--
Jon Schewe | http://mtu.net/~jpschewe
If you see an attachment named signature.asc, this is my digital
signature. See http://www.gnupg.org for more information.
Hi all,
I’m not sure if this was already pointed out in some earlier posts, but here http://www.tonicebrian.com/2010/10/15/continuous-integration-for-c-using-hudson/ you can find a python script that inspired me greatly J to have memory-analysis runs reported in Hudson, sorry, Jenkins. It might not be as nice as having XSL do the transforms, but practically this already works for me.
Regards,
Joris
-----Original Message-----
From:
jenkins...@googlegroups.com [mailto:jenkins...@googlegroups.com] On Behalf Of Åsmund Østvold
Sent: Friday, February 25, 2011
9:16 AM
To: Deuberger
Cc:
jenkins...@googlegroups.com
Subject: Re: valrgrind or xml
reporter plugin
Hi Daniel,
I have no time to work on this at the moment but I wanted to share with you my findings. The actual parsing class shouldprobablyonly be avariantof [1] (72 lines). And from "Adding support for new warning types" on [2] it looks like a recipe that I may be able to follow. Then again the devil is hidden in the details.....
I will report back if I do start work on this.
Regards,
Asmund
On Thu, Feb 24, 2011 at 2:48 PM, Deuberger <daniel.n...@gmail.com> wrote:
CONFIDENTIALITY: This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium.
Greg, I think you can integrate this with XUnit to add support for Valgrind.
Jon, thanks for your example; it was helpful to me in developing the XSLT.
Asmund, I still think making a plugin more tailored to valgrind could
be useful. That being said I think this was a much easier path
forward for now and in the future. I'd still be interested if you
make any progress though on your front.
Notes regarding the XSLT:
- The file is not 100% complete in the sense that it does fully
transform everything that could be in valgrind's xml output. That
being said, it should be fairly complete for most cases. See
/docs/internals/xml-output.txt from valgrind's source if anyone is
interested it catching the edge cases.
- The resulting format is in generally that of JUnit and works for the
XUnit plugin, but is not 100% valid. If anyone is interested in
filling in the gaps the correct schema is
http://windyroad.org/dl/Open%20Source/JUnit.xsd.
- I made the stack trace include links to the appropriate valgrind
documentation based on the error type so that users could quickly get
information on what the errors mean. There's no way to make the links
pretty because it's preformatted text, but Jenkins will at least turn
the URLs into links. If anyone notices problems with my mapping from
error kinds to documentation, please let me know.
I hope that is helpful. If anyone has suggestions for improvements or
notices bugs, please let me know. I'll also try to keep the group
updated if I make significant improvements.
Thanks to all!
- Daniel
-
Grégory