Boost logo

Boost Users :

Subject: Re: [Boost-users] Using a part of a Jamfile.v2
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-02-21 15:04:28


AMDG

On 02/21/2012 11:18 AM, Daryle Walker wrote:
>
> I was thinking about tweaking a library in Boost. Its BOOST_ROOT/libs/math/test/ directory is shared with some other libraries, so there's a lot of test files and the shared Jamfile.v2 used to make the tests is huge. Is there a way to restrict which targets are built from the command line? Right now, it takes MANY hours to go through every test. (When I did something similar last week with another library, I just commented out all the other libraries sharing the file. Do I have to resort to that all the time?)
>

Just put the name of the test on the command line.
For example,

Jamfile.v2:

run test1.cpp ;
run test2.cpp ;

> bjam test1

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net