Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-09-08 03:28:54


Larry Evans wrote:
> The following is my Jamfile.v2:

> What I want is for test2_test to run only if test1_test passes.

Here's what works for me:

unit-test a : a.cpp ;
unit-test b : b.cpp : <dependency>a ;

The variant with 'run' should work as well. Your original version did not
work, since 'unit-test' does not know what to do with results of other
'unit-test' in sources, so it just ignored them.

HTH,
Volodya

 


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