Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2003-01-05 10:14:57


David Abrahams <dave_at_[hidden]> writes:

> Do the tests which need that extra info occur in groups, and are they
> relatively rare? We could do it with something like:
>
> {
> local .dump-test-note = always_show_run_output ;
>
> # test declarations
> compile-fail whatever ... ;
> }
>
> Jam's dynamic scoping comes in handy sometimes. That "local" variable
> overrides any global definition until the scope exits.

I guess I can answer my own question by looking at status/Jamfile.
The answer appears to be yes, since only one test needs to do this.

For now, I'll implement this approach because it's easy to implement.
If we find ourselves needing to do it a lot, we can come up with
something easier for users.

-- 
David Abrahams
dave_at_[hidden] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution
 

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