Boost logo

Boost-Build :

Subject: [Boost-build] Tweaking status/Jamfile.v2
From: Vladimir Prus (ghost_at_[hidden])
Date: 2011-03-28 08:12:36


As part of Phoenix3 integration with Spririt, Hartmut would like to run tests
both agains V2 and V3 versions of Phoenix. I've suggested that libs/spirit/test/Jamfile.v2
declare two targets, "v2_tests" and "v3_tests" and that status/Jamfile.v2 refer to
both of them.

Unfortunately, that did not work too well because status/Jamfile.v2 uses 'build-project',
and ../libs/spirit/test//v2_tests is not a target at all. Now, both uses of:

        build-project ../$(root)/$(test) ;

can be converted to

        alias $(test) : ../$(root)/$(test) ;

But there's also 'use-project', that I don't know how to handle. Rene, what's the purpose of
'use-project' there in the first place? Or commit say:

        ------------------------------------------------------------------------
        r45025 | grafik | 2008-05-02 19:44:25 +0400 (Fri, 02 May 2008) | 1 line
        
        Use all test sub-projects regardless of filtering so that the tests show up in the bjam XML log.
        ------------------------------------------------------------------------

But I'm not sure I understand that.

Thanks,
Volodya


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