How should one go about adding unit tests to a package in the RTL? In many 
packages, for instance fcl-db, there is a tests folder with fpcunit units and 
programs in them, and they're referenced in fpmake.pp as example programs, but 
these do not appear to be built or run during a standard build of the RTL. 
Separately, there are tests for some packages in the top-level tests/test 
folder, which do appear to be run with
make full TEST_FPC=path_to_your_compiler

None of these latter tests use fpcunit.

Do any of the fpcunit tests get run as part of a test cycle?

I've written a bunch of tests, and now want to know where to put them in order 
to generate a patch.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to