Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-04-01 13:25:55


On Monday 31 March 2008 04:13:16 Khassapov, Alex wrote:
> 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 wander how to [...] unit-test-raw to use "python t_compliance_filter.py" instead?

   unit-test-raw t_compliance_filter : t_compliance_filter.py : <testing.launcher>python ;

BTW, you could have guessed this by looking at definition of the 'unit-test' action
in testing.jam.

HTH,
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