From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-04-01 14:02:26
On Friday 28 March 2008 09:47:22 Khassapov, Alex wrote:
> Thanks again Volodya
> 1. "using python" does help, now I do get the error "/bin/sh:
> t_compliance_filter.py: not found" which I assume is because "."
> directory is *not* in PATH. I can't add every directory with test
> scripts to the PATH, I wonder if there's a better "bjam" way to achieve
> it. Also the tests ipmort other modules from the same directory.
> 2. The above "generator" approach assumes that python test scripts have
> 'execute' permissions, which is not always a case. I wander if it's
> possible to use some stuff from python.jam as it does find python
> location and uses python to run the scripts.
> Or somehow add 'execute' permissions from Jamfile (chmod +x)?
Please see the <testing.launcher> trick I mention in the other email,
it should solve both issues.
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