|
Boost-Build : |
Subject: Re: [Boost-build] [boost-build] bjam helper: unit-test and testing/run - able to define environment variable?
From: Jürgen Hunold (jhunold_at_[hidden])
Date: 2014-11-27 12:44:35
Hi Steve,
Am Donnerstag, 27. November 2014, 11:17:29 schrieb Steve Lorimer:
> When boost-build automatically runs unit tests using either the unit-test
> or the testing/run jam rule, is it possible to have an environment variable
> automatically defined?
I'd use the <testing.launcher> feature. Just create a script which sets up the
environment and then calls the test executable (which is passed as an argument
to the specified testing laucher).
Yours,
Jürgen
-- * Dipl.-Math. Jürgen Hunold ! * voice: ++49 4257 300 ! Fährstraße 1 * fax : ++49 4257 300 ! 31609 Balge/Sebbenhausen * jhunold_at_gmx.eu ! Germany
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