Boost logo

Boost-Build :

Subject: Re: [Boost-build] How to rerun unit test hierarchically ?
From: Jonathan Brannan (kickace_at_[hidden])
Date: 2009-09-14 11:14:46


We did something similar to this by having a custom unit-test rule
that calls into a custom generator. The generator rule then forwards
onto testing.capture-output and **passed** rules. We have a feature
called "runtest" which is either on/off/always. in always mode it
marks the $(target:S=.test) as ALWAYS.

On 9/14/09, Vladimir Prus <ghost_at_[hidden]> wrote:
> On Thursday 10 September 2009 Avi Bahra wrote:
>
>> bjam has a facility called unit-test which runs the test straight away
>>
>> Is there any way to re-run the unit test hierarchically ?
>> I would like do something akin to:
>> bjam unit-test
>
> Avi,
>
> this is not presently possible. I'd recommend using alias to achieve this
> effect, e.g.
>
> alias this-component :
> [ unit-test a : a.cpp ] ;
>
> alias unit-tests : this-component some-dir//other-component ;
>
> HTH,
> Volodya
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>


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