Boost logo

Boost-Build :

Subject: [Boost-build] help with v2 build system
From: Jonathan Brannan (kickace_at_[hidden])
Date: 2008-12-01 18:34:12


I'm working to upgrade our boost and our current buildsystem/Jamrules.

I'm stuck trying to figure out how to do one of our test coverage rules. In
simple terms we do this:

before all tests arerun, execute an action (initialize)
before each test, execute an action specific to that test (zero out)
after each test is run, execute another action specific to that test
(gather stats from that output stats)
after all tests are run, execute an action (generate html)

I also want to assure that in the testcov build mode, unit tests are always
run regardless of changes.

I have figured out how to create a new variant of testcov and set the proper
cxxflags/cflags/ldflags, but I can't figure out the new
dependency/generation/type chaining.



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