Test: Aborting at global fixture

17 Jul
2015
17 Jul
'15
9:24 a.m.
Hello, what is the canonical way of reporting an error that accours at the global fixture: #include <boost/test/unit_test.hpp> struct GlobalFixture { GlobalFixture() { std::cout << master.argc << std::endl; BOOST_FAIL("CRASH BOOM"); } ~GlobalFixture() { std::cout << "Global teardown\n"; } }; BOOST_GLOBAL_FIXTURE(GlobalFixture) Crashes with segfault. Thanks, Florian
3630
Age (days ago)
3630
Last active (days ago)
1 comments
2 participants
participants (2)
-
Florian Lindner
-
Gennadiy Rozental