Boost logo

Boost-Build :

Subject: Re: [Boost-build] [Conditional Tests] How to make tests to depend on properties of library they use
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-03-22 10:57:34


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?

In Christ,
Steven Watanabe


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