|
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.
Steven,
That's what I want. Another reason to switch to Boost.Test and automatic
registration. Thanks!
Best regards,
-- Mateusz Loskot, http://mateusz.loskot.net
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk