Subject: Re: [Boost-build] Latest b2 on trunk always rerunning tests
From: Jürgen Hunold (jhunold_at_[hidden])
Date: 2013-11-06 05:11:19
On Wednesday, 6. November 2013 13:21:13 Vladimir Prus wrote:
> On 06.11.2013 13:01, Edward Diener wrote:
> > I am using the latest b2/bjam executable from 'trunk'. What I am seeing is
> > that when running tests for any particular Boost library, the tests are
> > always being rerun. For instance if I go into mpl or type_traits and run
> > 'b2 toolset=sometoolset', all the tests for that module are rerun every
> > time. This occurs even when all tests have previously passed and there
> > have not been any changes to the source files for the tests.
Are you using svn or the git repository?
> > Is this a bug with the latest b2/bjam changes ? If not, how can I debug
> > why the tests are being rerun even when no changes have been made ?
> I don't see this on trunk, when running b2 in libs/program_options/test; I'm
> on Ubuntu. Can you see whether the problem exists in that directory as
> well, for you?
svn trunk is okay. I fear I might have triggered this behaviour on the git
repository with r86527:
> Author: jhunold
> Date: 2013-10-30 15:27:44 EDT (Wed, 30 Oct 2013)
> New Revision: 86527
> URL: http://svn.boost.org/trac/boost/changeset/86527
> Direct dependency on /boost//headers is needed to trigger forward header
> Modified: trunk/libs/Jamfile.v2
> == --- trunk/libs/Jamfile.v2 Wed Oct 30 14:23:01 2013 (r86526)
> +++ trunk/libs/Jamfile.v2 2013-10-30 15:27:44 EDT (Wed, 30 Oct 2013)
> (r86527) @@ -11,5 +11,5 @@
> # implicit dependency to headers staged as links in <boost-root>/boost
> project boost/libs
> - : requirements <implicit-dependency>/boost//headers
> + : requirements <dependency>/boost//headers
This eliminates the "b2 headers" step but seems to trigger full rebuilds on
every b2 invocation.
-- * Dipl.-Math. Jürgen Hunold ! * voice: ++49 4257 300 ! Fährstraße 1 * fax : ++49 4257 300 ! 31609 Balge/Sebbenhausen * jhunold_at_gmx.eu ! Germany
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