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
This works fine when building from the same directory as the unit test itself (ie: the same directory in which .valgrind.supp is located).
import testing ;
[ glob *.cpp ]
: : : <testing.launcher>"valgrind --leak-check=full --track-origins=yes --error-exitcode=1 --quiet --suppressions=.valgrind.supp"
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)?