Subject: Re: [boost] [bjam][msm] help building tests
From: Belcourt, Kenneth (kbelco_at_[hidden])
Date: 2010-06-07 16:22:20
On Jun 7, 2010, at 2:03 PM, Christophe Henry wrote:
> I am almost ready for release, except that I run into a (admittedly
> expected) little snag. I have in the trunk a libs/msm/test. I also
> have a jamfile, which even compiles. But doesn't link.
> The reason being that bjam does not find the Boost.Test libs. Ok I
> understand I should be telling bjam to do it, but looking at other
> libraries' jamfiles, I don't find it either, so I'm wondering how this
> is supposed to work. Am I missing something?
You can change libs/msm/test/Jamfile.v2 like this
to link against Boost.Test libraries. I'm not sure but I think that's
all you need.
> On a related note, I'm also wondering how to get the tests to show up
> on the trunk regression page.
Look in status/Jamfile.v2 and follow the pattern (add line for msm/
test in the appropriate place) to get your product's tests running.
Hope that helps.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk