On 09/11/06, Jonas Maebe <[EMAIL PROTECTED]> wrote:
> 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.
Ok, so if the OutputFactory idea is also not going to work. Why not
try something completely different. What if every test suite compiled
to a .dll or .so file - nothing more. The fpcUnit executable compiled
previously with a stable compiler and includes all the output format
are then run during the nightly builds.
The fpcUnit executable can parse and load the .dll or .so test suites
and execute them (run their contained test cases). The nightly
compiler run then only needs to compile the test suites to .dll or .so
files.
Well something like that anyway... :-) Would something like this be possible?
Regards,
- Graeme -
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal