Boost logo

Boost-Build :

Subject: [Boost-build] [Conditional Tests] How to make tests to depent on properties of library they use
From: Artyom (artyomtnk_at_[hidden])
Date: 2011-03-22 09:40:07


Hello All,

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?

Artyom

      


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