[fpc-devel] patch testreport

Michael Van Canneyt michael at freepascal.org
Sun Aug 13 19:10:23 CEST 2006



On Sun, 13 Aug 2006, Darius Blaszijk wrote:

> Hi Michael,
> 
> Thanks, but I have a question.
> 
> Following the testreport patch, I have also a patch for the FPCUnitLazIDEIntf
> to make use of the plain text output. But I need to put defines around the new
> option, so people with an older FPC version do not get a broken tool. What
> defines would that be?

{$IFNDEF VER2_1}
  // text output
{$ELSE}
  // XML output.
{$ENDIF}

But why would you want to do this ? 
It seems to me the XML output is easier to use, since it is structured.
What is the need to change it ?

I think it's best to discuss this before changing the mechanism...

Michael.

> 
> Darius
> 
> ----- Original Message ----- From: "Michael Van Canneyt"
> <michael at freepascal.org>
> To: "FPC developers' list" <fpc-devel at lists.freepascal.org>
> Sent: Sunday, August 13, 2006 3:02 PM
> Subject: Re: [fpc-devel] patch testreport
> 
> 
> > 
> > 
> > On Sun, 13 Aug 2006, Darius Blaszijk wrote:
> > 
> > > Here's a patch that implements the ouput as plain text for FPCunit.
> > 
> > Thank you. Applied.
> > 
> > Michael.
> > _______________________________________________
> > fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> > http://lists.freepascal.org/mailman/listinfo/fpc-devel 
> 
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
> 
> 



More information about the fpc-devel mailing list