|
Boost : |
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2008-01-04 09:25:36
<jerome.wacongne <at> fxoverlay.com> writes:
> what I did :
> - a first test file using helper macros to test a class (works fine alone)
> :
> #define BOOST_TEST_MAIN
...
> - add a second test file using helper macros to test an other class
> (compilation is OK, link KO) :
> #define BOOST_TEST_MAIN
...
BOOST_TEST_MAIN have to be defined in one of your test files only.
> I have edited unit_test_suite.hpp to add inline decalration to
Undo this.
HTH,
Gennadiy
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk