Boost logo

Boost Users :

From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2008-05-15 22:58:15


Noah Roberts wrote:
> Noah Roberts wrote:
>> This doesn't make a lot of sense to me and seems like new behavior in .35:
>>
>> Running 1 test case...
>> commands: commands.cpp:5: void test_construct(): Assertion `false' failed.
>>
>> *** No errors detected
>> PASS: commands
>> ==================
>> All 1 tests passed
>> ==================
>>
>>
>> Previously, the use of BOOST_ASSERT(xxx) was the method of testing. Is
>> that different now?
>
> Hmm..maybe I'm mistaken and have been using BOOST_CHECK. I switched to
> that and now I get a linker error for:
>
> undefined reference to `boost::test_tools::tt_detail::check_impl
>
> I'm liking to the unit-test-framework-s library. Is there another req?
> I tried to link to the only other test library I could find and that
> was obviously a conflict.

Check your link line. The only way to get this kind of error is to
either link with wrong library or no library at all.

Gennadiy


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