|
Boost-Build : |
From: Khassapov, Alex (Alex.Khassapov_at_[hidden])
Date: 2008-03-30 20:13:16
Hi all, we have python scripts which we use for unit test, I had to
crate a generator for that as there's no source to compile, just want to
run the script:
import type ;
import generators ;
using python : 2.5 : /usr/local/bin/python ;
type.register UNIT_TEST_RAW : : UNIT_TEST ;
generators.register-standard testing.unit-test : : UNIT_TEST_RAW ;
unit-test-raw t_compliance_filter : t_compliance_filter.py ;
I get the following error because the current dir isn't in the $PATH:
/bin/sh: t_compliance_filter.py: not found
I wander how to add the current dir to the $PATH or tell unit-test-raw
to use "python t_compliance_filter.py" instead?
Both solutions should work...
Best Regards
Alex Khassapov
Senior Software Engineer
ITG Australia Ltd
Level 3, Rialto North Tower
525 Collins Street
Melbourne VIC 3000
Ph. +61 3 9211 2543
Fax. +61 3 9211 2599
www.itg.com <http://www.itg.com/>
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