17 Jul
2015
17 Jul
'15
7:03 p.m.
Florian Lindner
struct GlobalFixture { GlobalFixture() { std::cout << master.argc << std::endl; BOOST_FAIL("CRASH BOOM"); }
Crashes with segfault.
This report proper message in Boost.Test v3: Test setup error: std::runtime_error: can't use testing tools outside of test case implementation Use exceptions instead inside the global fixture. Gennadiy