|
Boost Users : |
Subject: Re: [Boost-users] boost-test with wxWidgets
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2009-01-06 14:53:18
MatÄj TÃ½Ä <matej.tyc <at> gmail.com> writes:
> > Simplest approach is to use dynamic library variant of the UTF
> I have noticed that I don't have to pass any libraries to the compiler
> and everything links fine when #defining BOOST_TEST_DYN_LINK, however
I believe you still have to, isn't it?
> it takes a lot of time to compile. I am on Linux and I use autotools
> that pass the -lboost_unit_test_framework-mt flag to the linker.
What does this lead to? I mean will it link with static or shared library?
> However, I still get undefined references or compilation errors when
> BOOST_TEST_DYN_LINK is not defined...
Please post them.
> > There is an ability to use automated registration for test units
> > as well if you opt to.
> Yes, I would actually like the computer to do some work for me. I have
> used some BOOST_AUTO_TEST_CASE and BOOST_AUTO_TEST_SUITE macros, but I
> still have to supply an init function to
> boost::unit_test::unit_test_main, right?
Yes. Even if it's empty.
> What is its name?
it's not restricted. Only signature.
I can't know that since it should be autogenerated.
No. It can be, not "should be".
Gennadiy
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net