« Return to Thread: [Boost.Test] [1.38] Automated test suie registration with muti-file-test-modules

Re: [Boost.Test] [1.38] Automated test suie registration with muti-file-test-modules

by Steven Watanabe-4 :: Rate this Message:

Reply to Author | View in Thread

AMDG

Greg Christopher wrote:

> Test1.cpp:
> -----
> #include "stdafx.h"
>
> #define BOOST_TEST_MODULE foo2
>
> <snip>
> -----
> Test2.cpp:
> -----
> #include "stdafx.h"
>
> #define BOOST_TEST_MODULE foo
> <snip>
> -----
> And Link with boost library....
>  

Don't #define BOOST_TEST_MODULE in more than
one translation unit.

In Christ,
Steven Watanabe

_______________________________________________
Boost-users mailing list
Boost-users@...
http://lists.boost.org/mailman/listinfo.cgi/boost-users

 « Return to Thread: [Boost.Test] [1.38] Automated test suie registration with muti-file-test-modules