[fpc-devel] test cases in FPC - how to they work?

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Dec 3 14:39:21 CET 2009


On 03 Dec 2009, at 14:31, Graeme Geldenhuys wrote:

> In general, is their a special way that the test projects in
> '<fpc>/tests/test/*' should be run?

 From fpc/tests/readme.txt:

***
Writing a test
--------------
A test should have a name on the form t*.pp, to be recognized as a test.
It should return 0 on success, any other value indicates failure.
***

The "It should return" refers to the program exit code.


Jonas




More information about the fpc-devel mailing list