Boost logo

Boost-Build :

From: Phillip Seaver (phil_at_[hidden])
Date: 2008-08-29 10:14:40

Curtis Spencer wrote:
> Hi,
> First off Boost Build rocks! Been using it extensively for the last
> month, and I am a believer.
> Here is my question
> I am using bjam to build a project I am working on. I like to build
> locally and run all my tests locally. When everything passes, I push
> to source control, and then I check out onto a bunch of clusters and
> compile using bjam as well. As my unit tests have gotten more
> involved, I would rather skip the unit tests on the cluster machines.
> Is there any easy way to do this by passing some variable or command
> line to bjam or do I have to write if statements in all my Jamfiles?

I moved them into a "tests" sub-directory.

If you don't want to do that, you should also be able to use "explicit"
to make it so that it doesn't run unless you request it on the
command-line. I haven't tried this with unit tests, but it works fine
with regular targets.

    test-suite foo : ..... ;
    explicit foo ;

Hope this helps.


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at