Boost logo

Boost :

Subject: Re: [boost] How to make tests building faster?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-12-20 20:44:13


AMDG

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.

In Christ,
Steven Watanabe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk