Bug 204842 - Allow both xml and normal output from same instance
Summary: Allow both xml and normal output from same instance
Status: REPORTED
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR wishlist
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-23 10:46 UTC by Ashley Pittman
Modified: 2009-08-23 10:46 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ashley Pittman 2009-08-23 10:46:54 UTC
I would like an option for Valgrind to be able to produce both the "normal" output and also the XML output when it is run.

I say this for two reasons:

1) It's useful to me writing an xml parser to check that the parser is correct.  If I can replicate the normal output from the xml output I know that my tools is behaving.

2) Given a tool like the above it would be possible to hook this into the test suite, instead of using output filers and string matching for the tests it would be possible for the test suite to run valgrind with xml and normal output enabled.  It could then test that the xml output could correctly replicate the normal output and then finally that the xml output matches some specified output for the test which could itself be written in xml and hence remove a lot of complexity and duplication in the expected output files.