Boost logo

Boost-Build :

Subject: Re: [Boost-build] Re-running library tests
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2018-03-09 19:45:10


AMDG

On 03/09/2018 12:32 PM, Mateusz Loskot via Boost-build wrote:
> On 9 March 2018 at 20:18, Steven Watanabe via Boost-build
> <boost-build_at_[hidden]> wrote:
>> On 03/09/2018 12:07 PM, Mateusz Loskot via Boost-build wrote:
>>>
>>> TL;TR: How can I re-run a library test(s) if test source/target are up-to-date?
>>>
>>> It has been a long time since I fiddled with Boost.Build last time
>>> and I'm re-discovering things, so may be missing something obvious.
>>
>> I find it easiest to touch the source or use -a (rebuild all).
>
> Pity, I was hoping to avoid compilation/link phase.
>

  Even if there were a way to do this, it would
rebuild a main-target as a unit (including compile and
link) It's technically possible to use -t if you
can figure out the right incantation, but I don't
recommend it.

Maybe:
find bin.v2/libs/array/test/ -executable -exec touch '{}' ';'

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