Boost logo

Boost-Build :

Subject: Re: [Boost-build] [Conditional Tests] How to make tests to depend on properties of library they use
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2013-01-05 10:18:34


Le 05/01/13 15:27, Artyom Beilis a écrit :
>
> ----- Original Message -----
>> From: Vicente Botet <vicente.botet_at_[hidden]>
>> To: boost-build_at_[hidden]
>> Cc:
>> Sent: Saturday, January 5, 2013 3:00 PM
>> Subject: Re: [Boost-build] [Conditional Tests] How to make tests to depend on properties of library they use
>>
>> Steven Watanabe-4 wrote
>>> AMDG
>>>
>>> On 03/22/2011 06:40 AM, Artyom wrote:
>>>> I have following setup.
>>>>
>>>> libs/locale/build
>>>>
>>>> uses properties
>>> <boost.locale.icu>
>>> on/off
>>> <boost.locale.std>
>>> on/off and
>>>> so on library boost_locale
>>>>
>>>> I want to add test suites according to these properties:
>>>>
>>>> test-suite "icu"
>>>> :
>>>> [ run test_collate.cpp ]
>>>> [ run test_convert.cpp ]
>>>> [ run test_boundary.cpp ]
>>>> [ run test_formatting.cpp ]
>>>> [ run test_generator.cpp ]
>>>> [ run test_icu_vs_os_timezone.cpp ]
>>>> : (Something run only if ../build//boost_locale has
>>> <boost.locale.icu>
>>> on )
>>>> ;
>>>>
>>>>
>>>> How can I do this?
>>> Something like
>>> <boost.locale.icu>
>>> off:
>>> <build>
>>> no?
>> Where these should be located?
>>
>> Best,
>> Vicente
>>
>>
>
> What do you mean?
>
>
I guess I've got the answer. Does the following works for your needs?

[ run test_collate.cpp : : : <boost.locale.icu>off:<build>no ]

Best,
Vicente


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk