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] *
Boost support, enhancements, training, and commercial distribution

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at