On Tue, 23 May 2006, Peter Vreman wrote:
Michael Van Canneyt wrote:
1. fpcunit didn't exist at the time the FPC tests were implemented.
2. Using FPCunit creates a dependency on it. The tests can run
mostly
with only the system unit...
Which dependencies? Maybe they can be reduced and a fpcunit can be
added to tests?
fpcunit depends on not so much, but I want to avoid using the FCL in
the
testsuite... Creating a copy seems rather silly too...
You can create an svn:external to important that one from the fcl
without
creating a real copy.
Good idea.
Should we convert existing tests to fpcunit ?
No, too much work, no real gain :)
I agree here. New tests can be added with fpcunit. But the basic principe
of using the halt and the dotest program needs to stay in place.
That is one of the "problems" of fpcunit: it runs a lot of tests in 1
program. The test suite stores 1 result per program; it would need
a lot of modifications, I think.
Michael.
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel