Boost logo

Boost-Build :

Subject: [Boost-build] toolset dependent test-suite behavior
From: Jan Boehme (jan.boehme_at_[hidden])
Date: 2013-06-10 10:54:13


Hello,

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...

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

Many thanks in advance,
Jan.


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