From: Larry Evans (cppljevans_at_[hidden])
Date: 2004-09-06 15:21:26
The following is my Jamfile.v2:
: test1_test #target-name
What I want is for test2_test to run only if test1_test passes.
I know the above rule invocations look suspicious because the
target is normally the 1st token after the rule name; however,
the run rule (in testing.jam) is:
rule run ( sources + : args * : input-files * : requirements * :
target-name ? : default-build * )
Anyway, I thought putting test1_test in the 2nd run (for target test2_test )
would cause test1_test to always be run first, and only if that passed,
then would test2_test be tried. However, this is not what happened.
test2_test was ALWAYS run.
What should I do to make test2_test's run only after test1_test
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