Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2002-12-17 08:16:53


Vladimir Prus <ghost_at_[hidden]> writes:

> David Abrahams wrote:
>
>> Actually I take advantage of the "2 targets bound to the same
>> location" thing in testing.jam for expected failures:
>>
>> test -> <failed>foo -> <succeeded>foo -> sources
>>
>> The action for <failed>foo -> <succeeded>foo basically echoes
>> something into foo, but only if building <succeeded>foo failed.
>
> I don't understand how this works. Why this action will be run
> only if building fails?

Because I label <succeeded>foo with FAIL_EXPECTED

> Is this another dark corner in Jam?

It's a Boost.Jam extension...

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