|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-03-24 01:53:11
al_odinaev wrote:
> One more question. I'm using 'unit-test' target to build and run my
> tests. Some of these tests require preconditions.
> For example I need to setup environment variable for particular test.
> Is there any possibility to specify the variable in Jamfile like this:
>
> unit-test test1 : test1.cpp : pre-requirements <env>PYTHONPATH=xxx ;
Unfortunately, such feature is not present, neither in unit-test, nor in more
advanced "run" rule. Maybe, some workarounds are possible?
- Volodya
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