Re: [boost] [bjam][msm] help building tests

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
project msm : requirements <include>. <library>/boost/test//boost_unit_test_framework/<link>static ;
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.
-- Noel
Hi Steven, Noel, Jürgen, Vicente, This is what I call getting good help fast! :) Thanks to all, I just did the changes and committed. Tests ran successfully (well, one 1 compiler...) and status/Jamfile.v2 now contains msm, so I eagerly wait for the results ;-) So I now go further through the check-list. From what I saw, the inspection report now considers msm as one of the worst offenders. Can't have that. ^^ Big big thanks to all! Christophe
participants (1)
-
Christophe Henry