
Gennadiy Rozental wrote: [snip]
2. Unfortunately original test modult function signature is unacceptable for DLL initialization. So i had to introduce new one. I don't see it unacceptable, given the majority of init_unit_test_suite() functions using BOOST_TEST_SUITE macro. I think
See my other post.
What post? [snip]
I want to seamlessly migrate from static UTF to shared. I need to fallback to the static UTF where it is not supported (by toolchain).
Where? The primary direction of my effort was to make sure shared library works consistently on all platforms.
Even on platforms that does not have shared libraries at all? ;-)
If you still insist on static/shared library compartibility it can be achieved: define BOOST_TEST_NO_MAIN and BOOST_TEST_ALTERMNATIVE_INIT_API during library compilation and you got what you need.
I'm trying to argue that such use case is needlessly complex.