Boost logo

Boost Users :

Subject: Re: [Boost-users] [TEST] Tests registered manually never exectued....
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2014-12-23 11:52:12

Witold E Wolski <wewolski <at>> writes:

> My registration code looks like follows:
> boost::unit_test::test_suite* init_unit_test_suite(int argc, char* argv[])
> boost::unit_test::test_suite* ts2 = BOOST_TEST_SUITE("test_suite2");
> ts2->add(BOOST_TEST_CASE(&liveViewTest));
> ts2->add(BOOST_TEST_CASE(&checkImageFormats));
> ts2->add(BOOST_TEST_CASE(&testRethrowException));
> boost::unit_test::framework::master_test_suite().add(ts2);
> return 0;
> }
> The init_unit_test_suite function is entered and returns but non of
> the added tests is ever exectued.

This looks fine. What kind of usage variant do you employ? Can you post the
small example reproducing your issue?


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at