Boost logo

Boost Testing :

Subject: Re: [Boost-testing] Testing
From: Peter Dimov (lists_at_[hidden])
Date: 2018-09-12 17:17:08


Robert Ramey wrote:
> On 9/12/18 8:26 AM, Steven Watanabe via Boost-Testing wrote:
...
> > Add [ config.requires /some list of required C++14 features/ ] to the
> > project requirements. See
> > https://www.boost.org/libs/config/doc/html/boost_config/build_config.html
>
> This looks what I do now for certain specific tests. OK. But seems
> cumbersome to add this to all the tests. Is there a convenient way to
> specify that the whole test suite is to be skipped for compilers which
> don't support some specific feature?

Yes, put it in the project requirements, as in
https://github.com/boostorg/mp11/blob/a79e6d0240a74138e399243cceca854bc2238293/test/Jamfile#L12


Boost-testing list run by mbergal at meta-comm.com