Boost logo

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 : ;

I get the following error because the current dir isn't in the $PATH:


/bin/sh: not found


I wander how to add the current dir to the $PATH or tell unit-test-raw
to use "python" 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 <>

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at