Boost logo

Boost-Build :

Subject: [Boost-build] [boost-build] <testing.launcher> specify absolute path to file
From: Steve Lorimer (steve.lorimer_at_[hidden])
Date: 2015-10-15 12:03:20

I am running my unit tests through valgrind using the *<testing.launcher>*

For one particular test I want to use a local valgrind suppressions file.

As such, I've specified the file using the *--suppressions command* line

import testing ;

    [ glob *.cpp ]
: : : <testing.launcher>"valgrind --leak-check=full --track-origins=yes
--error-exitcode=1 --quiet *--suppressions=.valgrind.supp*"
: unit_test

This works fine when building from the same directory as the unit test
itself (ie: the same directory in which *.valgrind.supp* is located).

When building from elsewhere the file is not found, and valgrind exits with
an error.

How can I specify the full path (or relative path to where the build is
executing from)?


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at