Boost logo

Boost Users :

Subject: Re: [Boost-users] unit tests: auto tests, missing main, redef'ed init_unit_test_suite
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-06-04 10:06:11


AMDG

Hicham Mouline wrote:
> The .cpp files are compiled with -DBOOST_TEST_MAIN=
>
>
>
> AFAIU, I am then not required to provide the "init_unit_test" function nor
> the "main" function.
>

Only use BOOST_TEST_MAIN in one translation unit.

In Christ,
Steven Watanabe


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