[fpc-pascal] fpcUnit todo list
Michael Van Canneyt
michael.vancanneyt at wisa.be
Thu Nov 9 13:39:31 CET 2006
On Thu, 9 Nov 2006, dhkblaszyk at zeelandnet.nl wrote:
> >> On 09/11/06, Florian Klaempfl <florian at freepascal.org> wrote:
> >>> First, I would prefer a patch to the fpcunit which makes the unit
> >>> itself
> >>> indenpendend from other stuff (xml) so it can be used in the fpc
> >>> test suite :)
> >>
> >> The xml used is the xmlwriter unit - part of FPC. Is this a problem?
> >
> > The problem is that the xml stuff must be built before you can run
> > the testsuite with fpcunit tests included (since the fpcunit package
> > depends on the xml stuff). This means that before you can start
> > running the testsuite, your compiler has to be stable and complete
> > enough to compile packages and fcl. That's not reasonable.
>
> Wait a minute.... But you need a stable enough compiler to compile the
> testsuite right? Hmm either you're inconsistent or you plan to test only
> the RTL and compiler itself, am I right?
That is what the current testsuite does: test the compiler and (parts of) RTL.
But if the compiler has problems compiling classes and/or handling
exceptions, you can forget the whole fpcunit anyway.
Michael.
More information about the fpc-pascal
mailing list