Boost logo

Boost-Build :

Subject: Re: [Boost-build] removing a free property
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2016-10-05 14:13:28


AMDG

On 10/01/2016 08:58 AM, Klemens Morgenstern wrote:
>
> I have a test in boost.process, which cannot be run with valgrind
> because it uses vfork. Now I would like to remove this property from the
> test, so that it gets executed even if I write "b2
> testing.launcher=valgrind". Is this possible? I tried
> "-<testing.launcher" and "-<testing.launcher>valgrind" and it didn't
> work. Ideas?
>

The -<f>v syntax doesn't affect command line properties.

  I don't think that it's currently possible to remove
them. Command line free features are added when
building every main target and I don't see any place
where they can be overridden.

> The line looks like this (inside "test-suite", sparring_partner is an
> exe-target)
>
> [ run vfork.cpp system filesystem : : sparring_partner : <build>no
> <target-os>linux:<build>yes ]
>

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