[fpc-devel] unit tests for RTL & FCL + 2 patches
Michael Van Canneyt
michael at freepascal.org
Tue Oct 19 15:53:16 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?
There are almost none. They exist between the other tests, but they are a
minority.
> 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
>
>
> PS:
> I gather there is no automated running of the above test suites anywhere -
> like there is for the compiler tests?
No, but I am open for suggestions on how to organize the fpcunit tests.
I will see about applying the patch.
Michael.
More information about the fpc-devel
mailing list