[build2] Packaging using submodules makes impossible to make imporing tests

Boris Kolpackov boris at codesynthesis.com
Mon Nov 12 12:48:34 UTC 2018

Klaim - Joël Lamotte <mjklaim at gmail.com> writes:

> thatlib/thatlib/buildfile
> thatlib/thatlib/thatlib-github // the submodule refered to by the buildfile
> thatlib/tests/build/... // this marks it as a sub-project
> thatlib/tests/test_suite/buildfile // the actual text exe is defined here

No, this won't work. There are (naturally) limitations to this
non-intrusive single-buildfile approach and not being able to
setup tests as a subproject is one of them.

So I think either have the tests and the library in the same
project/buildfile or bite the bullet and convert the project
to build2 properly.

More information about the users mailing list