|
Boost : |
From: Robert Ramey (ramey_at_[hidden])
Date: 2005-09-29 11:48:01
I've been absorbed in other things so this has been on hold. My current
thinking is to redefine the BOOST_TEST_CHECK, etc to just throw exception.
I only use a few of them so this is probably the simplest workaround for me.
Robert Ramey
Gennadiy Rozental wrote:
>> I am making a test program in order to test the operation of the
>> serialization
>> library when serializable type is serialized from within a
>> dynamically loaded DLL.
>>
>> I've made a DLL which serializes to a polymorphic_?archive.
>>
>> I'm going to make a test program which calls the DLL.
>>
>> Here are my questions:
>>
>> [Test]
>>
>> My DLL has included <boost/test/test_tools.hpp> and
>> test tool macros. Things compile fine. When I try to link I get a
>> failure
>> because I've got not test_main - I'm using the Test Execution
>> Monitor. Now that I think about it - its not clear at all how to
>> address this.
>
> Unfortunately I do not know any solution to this. Apparently when DLL
> on windows is linked - everything should be resolved. That's the
> primary reason why there is no DLL version of Boost.Test component on
> Windows. I still looking for some kind of workaround - it will
> definetly require different test initiation interface.
>
> Gennadiy
>
>
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk