On 10/10/2015 09:55, Andrey Semashev wrote:
On 10.10.2015 01:05, Louis Dionne wrote:
Also, before someone suggests using Boost.Build: I have been looking at the possibility of maintaining a separate Jamfile. However, the need to maintain two separate build systems is annoying, so I'd like to avoid it if possible.
Others have addressed the need for supporting Boost.Build. I can add that it is possible to create a Jamfile that will automatically iterate over the test sources and need not updating at all. You can find an example in Boost.Log:
https://github.com/boostorg/log/blob/develop/test/Jamfile.v2
I was just about to say, that if the tests are uniformly named, then self-updating Jamfiles are easy enough. An even simpler example is in the type_traits lib: https://github.com/boostorg/type_traits/blob/master/test/Jamfile.v2 HTH, John.