Boost logo

Boost Testing :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-03-16 17:16:43


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, it's "subfeature". So,

        <toolset>gcc-4.1.2_linux_x86_64

should be equivalent to

        <toolset>gcc <toolset-gcc:version>4.1.2_linux_x86_64

in all contexts. Previously, we did not expand subfeatures in some
places, so I suggested to Martin that he spells down expanded subfeatures
explicitly.

Although we're supposed to expand everything now, I don't see
why we should disallow using:

        <toolset>gcc <toolset-gcc:version>4.1.2_linux_x86_64

- Volodya


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