Boost logo

Boost-Build :

Subject: Re: [Boost-build] toolset dependent test-suite behavior
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-06-19 10:56:57


AMDG

On 06/10/2013 07:54 AM, Jan Boehme wrote:
> I want to do something like this:
>
> test-suite cxx11_varadic : [ compile-fail varadic.cpp ] : <toolset>mscv ;
>
> test-suite cxx11_varadic : [ compile varadic.cpp ] : <toolset>gcc ;
>
> Means it's intended the rule called cxx11_varadic doesn't compile using
> the msvc toolset but compiles fine if toolset gcc is used.
>
> Unfortunately I get "No best alternative" errors calling the rule:
>
> error: No best alternative for utils/system/tests/c++11/cond_test
> next alternative: required properties: <threading>multi
> matched
> next alternative: required properties: <threading>multi
> matched
> ...found 1 target...
>

This error doesn't seed to correspond to your code.

> Is there / what would be a proper way to declare something like this?
>

In Christ,
Steven Watanabe


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk