Adding xml output to QTest unit tests, in order to produce a more readable report.

Andreas Pakulat apaku at gmx.de
Tue Sep 4 17:01:47 CEST 2007


On 31.08.07 23:04:57, Andreas Pakulat wrote:
> On 31.08.07 12:51:46, Allen Winter wrote:
> > On Friday 31 August 2007 11:51:55 am Andreas Pakulat wrote:
> > > On 31.08.07 17:34:02, Thibault wrote:
> > > > No, this patch produce the xml output variant of QTestLib. The log is
> > > > save in a file named <testname>.tml.
> > > 
> > > I strongly object this patch as it is now.
> >
> > Yes, I'll revert.
> > Sorry.  
> 
> Well, I'm sorry too because it means the EBN needs again a bit longer
> until it runs automated tests and post the results on kde4, which I find
> very important and helpful. 
> 
> I modified the patch to use a variable KDE4_TEST_OUTPUT (currently
> recognizes "xml" in any case) to activate the xml output, else it'll use
> plain text. Also added an existence-check for source files, I had a case
> where a source file for a test obviously is generated and thus cmake
> would generate an error trying to read it..

Ping? Found a small error in the patch, so I'm sending an updated one.
Shall I commit or is the idea of having xml-output from the QTests
dropped completely?

Andreas

-- 
Troubled day for virgins over 16 who are beautiful and wealthy and live
in eucalyptus trees.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qtest_xml_new.patch
Type: text/x-diff
Size: 1913 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20070904/af75f172/attachment.bin 


More information about the Kde-buildsystem mailing list