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

Graeme Geldenhuys graeme at mastermaths.co.za
Thu Dec 3 15:32:21 CET 2009


Jonas Maebe wrote:
> 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.

Ah thanks! And that would explain the lines with Halt(1) at the end of
those test projects  :-)

No idea how I missed that. :-(


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/




More information about the fpc-devel mailing list