Boost logo

Boost Testing :

From: David Abrahams (dave_at_[hidden])
Date: 2007-03-16 18:25:15


on Fri Mar 16 2007, Vladimir Prus <ghost-AT-cs.msu.su> wrote:

> David Abrahams wrote:
>
>>
>> on Fri Mar 16 2007, Martin Wille <mw8329-AT-yahoo.com.au> wrote:
>>
>>>> Apparently you have
>>>>
>>>> using python : 2.4 : ... ;
>>>> using python : 2.4 : ... : : : <toolset>gcc
>>>> <toolset-gcc:version>4.1.2_linux_x86_64 ; using python : 2.4 : ... : :
>>>> : <toolset>gcc <toolset-gcc:version>4.1.0_linux_x86_64 ;
>>>>
>>>> I'm not 100% sure, but I *think* the problem here is that you used a
>>>> conditional property in the "condition" parameter where you should
>>>> have used a plain one:
>>>>
>>>> using python : 2.4 : ... : : : <toolset>gcc-4.1.2_linux_x86_64 ;
>>>> using python : 2.4 : ... : : : <toolset>gcc-4.1.0_linux_x86_64 ;
>>>>
>>>> Volodya will have to confirm/deny my guess as to the problem I think.
>>>
>>> FWIW, I wrote those using lines the way Volodya told me on IRC.
>>
>> Well, actually, I can't figure out what that incantation isn't
>> supposed to mean, because AFAICT that syntax isn't documented
>> anywhere. At least, the regexp
>>
>> &lt;[-a-z_]+:
>>
>> doesn't appear anywhere in the BBv2 docs' XML sources. Volodya will
>> definitely have to clarify. Hopefully he'll update the docs too ;-)
>
> Ehm, the
>
> <toolset-gcc:version>4.1.2_linux_x86_64 ;
>
> syntax was invented by you,

The fact that I suggested the syntax doesn't mean I remember anything
about it. I think it ought to be documented.

> it's "subfeature". So,

OK; I thought it was a conditional requirement, since conditional
requirements also use colons.

Well, I still don't understand what Martin is seeing. AFAIK, my code isn't
declaring a target called /python-2.4 anywhere. Where does that come
from?

  error: No best alternative for /python-2.4
       next alternative: required properties: (empty)
           matched
       next alternative: required properties: (empty)
           matched

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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