Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-06-02 10:13:39


Stan Blakey wrote:

> When I try to use the unit-test rule I get a message:
> "rule unit-test unknown in module Jamfile<...."
>
> exe works fine. I tried in my own jamfile and I tried modifying the
> hello example with the same results.

You haven't said what version of Boost.Build you're using, so
I'm going to assume it's CVS HEAD, and you also did not provide
a complete testcase, so I'm gonna assume something too.

Can you try adding

        import testing ;

at the top of your Jamfile? It appears that such
statement is executed when testing Boost, but is
not executed for a completely standalone project.
If such line fixes the problem for you, I'll apply
a better fix.

- 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