From: Philippe W. <phi...@sk...> - 2013-07-23 15:47:24
|
On Tue, 2013-07-23 at 12:24 +0200, Matthias Schwarzott wrote: > Hi, > > I am running a larger test-application under valgrind. It prints start > and end of testcases to stderr. > Using the text output I immediately see to which testcase an error belongs. > Now is the point I want to get some numbers about valgrind errors extracted. > For this xml is the type of output to use. Maybe you could use the valgrind request VALGRIND_COUNT_ERRORS and output the nr of reported errors from your program on stderr, and use this to retrive in the xml file the errors reported by a specific test ? > > I wonder if it is possible to get the errors xml-format and still know > the relation to the stderr output. > > These are my thoughts: > 1. Enable text and xml error output the same time. > 2. Print a reference to the xml error-id onto stderr. > 3. Using "--xml=yes --xml-fd=2" and splitting it later (maybe add some > prefix to these lines). > > What do you think about this? > > Regards > Matthias > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users |