Boost logo

Boost-Build :

From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2006-09-28 01:22:05


Eric Niebler wrote:
> I'm writing a Jamfile.v2 for some tests. I have two test suites, like:
>
> import testing ;
>
> {
> test-suite blah : [ run stuff.cpp ] ;
> }
>
> {
> test-suite blah-ext : [ run experimental.cpp ] ;
> }
>
> Now, I'd like only the blah test suite to run by default, and I want
> blah-ext to run only if I explicitly request it. The BBv2 docs led me to
> believe "explicit" would help me, and I believed it! Sadly, it seems not
> to be the case. Regardless of where I put the "explicit blah-ext ;"
> line, the blah-ext test suite always runs, whether I ask for it or not.
>
> What have I overlooked?

Looking up the testing.jam code... "test-suite" isn't a target. All it
does is make an alias for the other real test targets. So I don't think
you can do what you want currently, but Voladya would know better.
Perhaps this is related to this issue
<http://zigzag.cs.msu.su/boost.build/ticket/68> I brought up long ago now.

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo

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