[fpc-pascal] New stylesheet for fpcunit xml reports

Vincent Snijders vsnijders at quicknet.nl
Fri Feb 9 09:13:35 CET 2007


Graeme Geldenhuys schreef:
> On 2/8/07, Vincent Snijders <vsnijders at quicknet.nl> wrote:
>>
>> No, I used unmodified fpc and the lazarus changes (a modified console 
>> test runner)
>> are in svn too.
> 
> How sure are you?  :-)  I followed your instructions and this is the
> xml 'runtests' generated.

95 % sure.

Lazarus changes:
r10573

Fpc changes:
r6190.

> 
>>
>> You can get the results by compiling lazarus with fpc 2.1.1 and make 
>> sure the used
>> compiler is in the environment
> 
> I always work with FPC 2.1.1 and latest Lazarus (svn).  I get a update
> once a week for both projects.  I also did a 'svn status' in the
> fpc/src/fcl/fpcunit directory to be sure I don't have a modified set
> of files, which I don't.
> 
>> (Assuming linux path seperator, follow the next steps)
>> Go to the lazarus/test directory.
>> ../lazbuild runtests.lpi
>> ./runtests -a -p --file=results.xml
> 
> I tried the 'runtestsgui' as well, and it generated the same xml as
> show above.  

True the gui test runner still uses TXMLResultsWriter from xmlreporter unit. The 
lazarus console testrunner uses the TXMLResultsWriter from the xmltestreport unit.

 > I remember Dean posted to a select few a preliminary set
> of code changes for us to review, and mentioned in that post about a
> new feature of nested test suites.  I double checked, those changes
> were never committed to SubVersion.

Not even in r6190?

Vincent



More information about the fpc-pascal mailing list