Boost logo

Boost :

Subject: Re: [boost] How to make tests building faster?
From: Mateusz Łoskot (mateusz_at_[hidden])
Date: 2011-12-21 12:32:39

On 21 December 2011 01:44, Steven Watanabe <watanabesj_at_[hidden]> wrote:
> On 12/20/2011 04:01 PM, Mateusz Łoskot wrote:
>> I have been contemplating idea of leaving the source code of tests
>> structured as it is now, but having a tool which generates some sort of
>> "Unity Builds" - all in single translation unit.
>> Perhaps, having all tests wrapped with Boost.Test macros for test cases,
>> it would be possible to have such feature compile-time configured by Boost.Test
>> with Boost.Build support to switch between many and single test
>> runners variants.
>> Best regards,
> The easiest way to do it with Boost.Test is
> to use automatic registration and #include
> all the source files in a single file.


That's what I want. Another reason to switch to Boost.Test and automatic
registration. Thanks!

Best regards,

Mateusz Loskot,

Boost list run by bdawes at, gregod at, cpdaniel at, john at