Boost logo

Boost-Build :

From: Bojan Resnik (resnikb_at_[hidden])
Date: 2005-11-22 07:57:28


2005/11/22, Renaud Lepere <renaud.lepere_at_[hidden]>:
> I have a simple exe and a simple jamfile
> exe log : [ glob *.cpp ] ;
>
> I would like to do tests and launch the .exe just after
> building it, i modified the jamfile to
>
> unit-test log : [ glob *.cpp ] ;
>
> but it didn't work.
>
> Should i define something in my user config to do so.
> I also tried to find rules exe and unit-test but i didn't
> find them. Could someone help me ?
>
> Thanks
>
> Renaud

You need to add

import testing ;

before you use unit-test, and it should work fine.

--
Bojan Resnik

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