|
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>*
rule
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
option
import testing ;
run
[ 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)?
TIA
Steve
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