|
Boost Users : |
Subject: Re: [Boost-users] [test framework] one testsuite over multiple translation units
From: Georg Sauthoff (g_sauthoff_at_[hidden])
Date: 2008-12-21 16:10:07
On 2008-12-19, Gennadiy Rozental <rogeeff_at_[hidden]> wrote:
> Georg Sauthoff <g_sauthoff <at> web.de> writes:
>> Yes, from the documentation I don't see how to do multiple translation
>> units/testsuites and linking against utf library.
>> I basically tried this:
>> //a.cc
>> #define BOOST_TEST_DYN_LINK
>> #define BOOST_TEST_MODULE a
>> Thus, the question is: How to do it right?
> You need to define BOOST_TEST_MODULE only in one translation unit in test
> module. I believe it's covered in documentation.
Thanks! Defining BOOST_TEST_MODULE multiple times was the problem - now
it works like expected.
Best regards
Georg Sauthoff
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