Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-03-28 01:47:20


Khassapov, Alex wrote:

> Hi Volodya,
>
>
>
> I tried the generator idea - still have the same problem:
>
>
>
> /opt/boost-build/build/generators.jam:951: in ensure-type from module
> generators
>
> error: target { t_compliance_filter.py. } has no type

Uh. So of course, you have to make sure that the .py type is known. For
example, adding:

        using python : 2.5 : /usr/local/bin/python ;

should do that. If you continue to have problems, please post a minimal
complete project reproducing the problem, as archive, and I'll take a further
look.

> The same behavior - it doesn't recognise .py files - I was getting by
> simply using unit-test rule.
>
>
>
> Which brings the next question - boost-build does have python.jam module
> with some testing functionality specific to Python.
>
>
>
> Whent I try:
>
>
>
> using python : 2.5 : /usr/local/bin/python ;
>
> testing.make-test run-pyd-output : t_compliance_filter.py ;

Sorry, what do you expect the above to do? "run-pyd-output" is
for testing Python extensions, which you don't have.

- 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