Boost logo

Boost :

Subject: Re: [boost] Tests failing?
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2013-02-08 11:30:01


On Feb 7, 2013, at 11:48 PM, Gennadiy Rozental <rogeeff_at_[hidden]> wrote:

> Marshall Clow <mclow.lists <at> gmail.com> writes:
>
>> I appreciate the offer, but if you can point me at the docs describing
>> how I should switch, I'll clean up my code.
>
> I believe I've described it once somewhere. What you need is:
>
> 1. Replace
>
> #include <boost/test/test_exec_monitor.hpp>
>
> with
>
> #define BOOST_TEST_MAIN
> #include <boost/test/test_exec_monitor.hpp>

Are you sure?

I tried that, and it didn't work at all.

I looked at the documentation, and it showed:

        #define BOOST_TEST_MODULE MyTest
        #define BOOST_TEST_MAIN
        #include <boost/test/unit_test.hpp>

Is that correct?

-- Marshall

Marshall Clow Idio Software <mailto:mclow.lists_at_[hidden]>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
        -- Yu Suzuki


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk