[fpc-other] FPCUnit, DUnit2 and JUnit licenses question

Michael Van Canneyt michael at freepascal.org
Tue Jul 21 12:29:37 CEST 2009


Hi,

The FPCunit implementation is compatible to JUnit, and was later made
compatible to DUnit, but - to my knowledge - does not contain any code
from either of those projects.

FPCunit was implemented from scratch by Dean Zobec, and he gave it to
the FPC team with the permission to distribute it under the LGPL license.

Michael.

On Tue, 21 Jul 2009, Jonas Maebe wrote:

>
> On 21 Jul 2009, at 11:28, Graeme Geldenhuys wrote:
>
>> Or maybe CPL is incompatible with (L)GPL and none of the 3 products may 
>> actually be bundled with FPC?
>
> The CPL is not compatible with the (L)GPL: 
> http://www.gnu.org/philosophy/license-list.html#CommonPublicLicense10
>
> So unless the authors of both JUnit and DUnit gave permission to also 
> distribute their code under the modified LGPL, fpcunit cannot be distributed 
> under that license.
>
> In general, packages should indeed be licensed under the modified LGPL for 
> them to be distributed with FPC, but maybe an exception could be made for a 
> unit testing framework. After all, you seldom distribute unit tests, so the 
> license is of minor importance. But if fpcunit cannot be licensed under the 
> modified LGPL, then the license headers in its source code definitely have to 
> be changed.
>
>
> Jonas
>
> (CC'ing Michael, since he's not subscribed to fpc-other; Michael, Graeme's 
> original message can be found here: 
> http://lists.freepascal.org/lists/fpc-other/2009-July/000300.html )


More information about the fpc-other mailing list