From: Beman Dawes [mailto:bdawes@acm.org]
Sent: Tuesday, December 24, 2013 8:56 PM
To: steven; Boost.Build developer's and user's list
Subject: Re: [Boost-build] How to run inspect as part of a test-suite?
On Fri, Dec 20, 2013 at 11:17 AM, Steven Watanabe <watanabesj@gmail.com> wrote:
AMDG
On 12/20/2013 08:03 AM, Beman Dawes wrote:
> On Fri, Dec 20, 2013 at 10:43 AM, Steven Watanabe <watanabesj@gmail.com>wrote:
>>> On 12/20/2013 07:10 AM, Beman Dawes wrote:
>>> On Thu, Dec 19, 2013 at 10:54 AM, Vladimir Prus <ghost@cs.msu.su> 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 ;
I've now tested this and it worked fine, AFAICS.
All changes to inspect, timer, and the super have been merged to master.
This is a Really Useful Thing.