Boost logo

Boost-Build :

Subject: Re: [Boost-build] [build] obj rule broken in test matrix?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2016-04-05 14:50:25


AMDG

On 04/05/2016 11:32 AM, John Maddock wrote:
>
>
> On 05/04/2016 18:23, John Maddock wrote:
>> The obj rule seems to be broken in the test matrix on develop only,
>> for example:
>>
>> http://www.boost.org/development/tests/develop/developer/output/teeks99-01gg-Ubuntu14-04-64on64-boost-bin-v2-libs-math-test-dist_fisher_f_incl_test-test-gcc-4-7-dbg-lnk-sttc-pch-off.html
>>
>>
>> The object file is obviously built OK, but when the program that uses
>> it tries to link it's being passed the wrong path to the object file.
>>
>> Strangely, everything works OK when run locally from libs/math/test,
>> there's something specific to running the tests globally that triggers
>> the issue.
>>
>
> Never mind, those are stale tests. I'd still like to know why using an
> obj rule rather than a lib rule produces those errors though....
>

  The problem is --remove-test-targets,
which apparently causes the object file
to be deleted prematurely.

In Christ,
Steven Watanabe


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