Boost logo

Boost-Build :

Subject: Re: [Boost-build] replacing the **passed** rule (fixing quickbook testing)
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2008-12-02 08:00:24


John Maddock wrote:

> The quickbook tests currently all fail because it's Jamfile creates a "run"
> rule for each test, but as each test uses the same executable and the "run"
> rule deletes the executable if the test passes: so the first test passes,
> and all the others fail because the .exe was deleted by the first test :-(
>
> I've tried everything I can think of to fix this, but no luck so far... the
> obvious fix is to replace the "**passed**" rule from testing.jam with one
> that doesn't delete the .exe, but if I add my own version of this rule to
> quickbook-testing.jam then it appears not to be called?
>
> Any better ideas?

Yes, add

        <preserve-test-targets>on

to requirements of the Jamfile in question.

- 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