Subject: Re: [Boost-build] How to run inspect as part of a test-suite?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-12-20 11:17:04
On 12/20/2013 08:03 AM, Beman Dawes wrote:
> On Fri, Dec 20, 2013 at 10:43 AM, Steven Watanabe <watanabesj_at_[hidden]>wrote:
>> On 12/20/2013 07:10 AM, Beman Dawes wrote:
>>> On Thu, Dec 19, 2013 at 10:54 AM, Vladimir Prus <ghost_at_[hidden]> wrote:
>>> [ run /boost/tools/inspect//inspect/<variant>release
>>> : .. -text -brief # command line
>> You just need to root .. by using path-constant.
> Sorry, that's way above my bjam skill level. And since use of inspect in
> this context is almost always going to need command line arguments, the ..
> doesn't appear to be a problem.
What I mean is that passing a literal .. won't work
when bjam is run from a different directory
(status/ for instance).
path-constant parent : .. ;
run ... : $(parent) -text -brief ;
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