Boost logo

Boost Testing :

From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2007-10-05 19:26:50


Rene,

> > Very good question... I'll investigate and get back to you.
>
> So far what I can see is that the missing test, testwave, is
> getting built but not run. Hm... and on Windows/MSVC I get a BB error:
>
> error: No best alternative for ./testwave
> next alternative: required properties: <threading>single
> <variant>debug
> not matched
> next alternative: required properties: <link>static
> <threading>single <variant>debug
> not matched
>
> When I try to fix it I instead get:
>
> error: No best alternative for ./testwave
> next alternative: required properties: <threading>single
> <variant>debug
> not matched
> next alternative: required properties: <threading>single
> <variant>debug
> not matched
>
> Hm, looking further I would guess it's because of using the
> same sources for both the testwave and testwave_dll tests.
> Which is causing a build collision. Unlike BBv1, BBv2 puts
> all the targets for sources at the same "level" in a project.
> So I'm seeing the best way to work around this.

I added two almost empty files including the main test files and built one
of the test cases from that. Additionally I had to change the Jamfile a bit,
but now it seems to work as expected (at least on my machine everything is
fine). Let's see how it goes...

Thanks!
Regards Hartmut


Boost-testing list run by mbergal at meta-comm.com