[test] SIGSEGV using BOOST_CHECK_XXXX from a BOOST_GLOBAL_FIXTURE
Hi all, If any function called by a BOOST_GLOBAL_FIXTURE makes a BOOST_XXXX macro call my test case is terminated with a SIGSEGV. I assume that this is because some part of the boost test framework has not been initialised as the point where by call is made. Is this a known problem or is this intentional behaviour? If this is intentional what should I do instead of calling BOOST_MESSAGE / BOOST_FAIL / BOOST_CHECK (for now I have replaced the last 2 with assert but this is not ideal...). Regards Mark
On 15/09/2011 21:28, mark Pashley wrote:
Hi all,
If any function called by a BOOST_GLOBAL_FIXTURE makes a BOOST_XXXX macro call my test case is terminated with a SIGSEGV. I assume that this is because some part of the boost test framework has not been initialised as the point where by call is made.
Is this a known problem or is this intentional behaviour?
If this is intentional what should I do instead of calling BOOST_MESSAGE / BOOST_FAIL / BOOST_CHECK (for now I have replaced the last 2 with assert but this is not ideal...).
Hi, There is actually a trac ticket [1] about this. It should be pretty trivial to fix, however it seems for now Boost.Test regression tests are broken due to [2]... [1] https://svn.boost.org/trac/boost/ticket/5563 [2] http://boost.2283326.n4.nabble.com/test-Running-regression-tests-td3568224.h... Cheers, MAT.
Mathieu Champlon
Hi, There is actually a trac ticket [1] about this.
Yes. I'll fix it soon.
It should be pretty trivial to fix, however it seems for now Boost.Test regression tests are broken due to [2]... [1] https://svn.boost.org/trac/boost/ticket/5563 [2] http://boost.2283326.n4.nabble.com/test-Running-regression-tests-td3568224.h...
Yeah. This is a rather bad. Was planning to sent email to boost.build group. It fells like every time I turn from development for some time, something happens with boost build and I can't build anymore. I started working on Boost.Test recently and found out that none of my jam files are working. I hacked it to work locally, but these are not real fixes. Someone familiar with boost build need to get involved. Gennadiy
participants (3)
-
Gennadiy Rozental
-
mark Pashley
-
Mathieu Champlon