[bjam][msm] help building tests

Hi, 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? On a related note, I'm also wondering how to get the tests to show up on the trunk regression page. Thanks, Christophe

AMDG 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?
Add /boost//unit_test_framework to the sources of the test.
On a related note, I'm also wondering how to get the tests to show up on the trunk regression page.
Edit status/Jamfile.v2 In Christ, Steven Watanabe

Hi Christophe, 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 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 ! On Monday, 7. June 2010 22:03:17 you wrote:
Hi,
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?
Yes, those other libs don't use Boost.Test.
On a related note, I'm also wondering how to get the tests to show up on the trunk regression page.
see status/Jamfile.v2 Please find a full patch attached. Yours, Jürgen -- * Dipl.-Math. Jürgen Hunold ! Ingenieurgesellschaft für * voice: ++49 511 262926 57 ! Verkehrs- und Eisenbahnwesen mbH * fax : ++49 511 262926 99 ! Lister Straße 15 * juergen.hunold@ivembh.de ! www.ivembh.de * * Geschäftsführer: ! Sitz des Unternehmens: Hannover * Prof. Dr.-Ing. Thomas Siefer ! Amtsgericht Hannover, HRB 56965 * PD Dr.-Ing. Alfons Radtke !

----- Original Message ----- From: "Christophe Henry" <christophe.j.henry@googlemail.com> To: <boost@lists.boost.org> Sent: Monday, June 07, 2010 10:03 PM Subject: [boost] [bjam][msm] help building tests
Hi,
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?
On a related note, I'm also wondering how to get the tests to show up on the trunk regression page.
Salut Christophe , If you commit the test directory I could try to help you. Best, _____________________ Vicente Juan Botet Escribá http://viboes.blogspot.com/
participants (5)
-
Belcourt, Kenneth
-
Christophe Henry
-
Jürgen Hunold
-
Steven Watanabe
-
vicente.botet