[fpc-devel] unit tests for RTL & FCL + 2 patches
Michael Van Canneyt
michael at freepascal.org
Tue Oct 19 21:55:05 CEST 2010
On Tue, 19 Oct 2010, Graeme Geldenhuys wrote:
> Hi,
>
> Florian mentioned that the compiler is well tested, and I can see there are
> many .pp files in the src/tests/ hierarchy.
>
> Where would I look for the RTL and FCL unit tests? Is it the code in
> <src>/tests/test/units/fpcunit/? If so, is that all of them, or is there
> another directory (eg: maybe for FCL) somewhere?
>
>
> Also attached are two patches for the <src>/tests/test/units/fpcunit/ project.
>
> patch 001: Allows FPC 2.5.1 to actually compile the test suite
>
> patch 002: Changes lazarus project file options
> - session information is stored in separate .lps file
> - a unit output director to support multiple targets
> - a defined output filename that is easily accessible
I applied the patch. I don't know how you managed to compile the code,
but I fixed that as well.
The test cases were to test the rewrite of the classes/sysutils units,
they were not intended for end-user tests. In each case the project compiles
now. (and 3 of 204 tests fail. I didn't check whether that's correct or not)
Michael.
More information about the fpc-devel
mailing list