Boost logo

Boost :

Subject: Re: [boost] How to make tests building faster?
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2012-01-05 18:06:29


On 22 December 2011 01:49, Robert Ramey <ramey_at_[hidden]> wrote:
> Mateusz Loskot wrote:
>
>> I'm interested in your practice here.
>> How do you do the "changing the directory of the serialization"?
>> Do you copy and overwrite, use symlinks?
>
> My whole boost/release tree is connect to the boost SVN system.
> There is an SVN command which let change the directory to another
> SVN branch.  I use tortoise SVN gui so I don't remember the exact
> command - it might be switch.  Hint, make sure you have everything
> checked in before you do this.

Robert,

I have additional question to the testing against release branch approach.

I assume you work with trunk and branches/release in the same machine/system.
How do you switch between Boost.Build from trunk and from branches/release?

On Windows, I build and install BBv2 this way:

bootstrap.bat
.\b2 --prefix=C:\usr install

If C:\usr contains BBv2 from trunk (C:\usr\bin is in PATH)
and I try to run b2 command inside branches/release,
I sometimes get BBv2 errors (e.g. from .jam files).

Then I have to wipe out C:\usr, go to branches/release/tools/build/v2
and run the BBv2 installation again:

bootstrap.bat
.\b2 --prefix=C:\usr install

It is quite a hassle.
Is there any convenient way to have different version of BBv2 installed?

Best regards,

-- 
Mateusz Loskot, http://mateusz.loskot.net

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk