Boost logo

Boost-Build :

From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2008-01-28 04:17:19


I'm using the 'unit-test' rule to compile and run some tests that depend on
a server application. The test fixtures start the server, run the tests and
then stop the server app.

The server app is an installed target in the same main project. I've managed
to set up a dependency on the installed target in the unit-test target, but
this causes all test code to get rebuilt and I would like to just re-run the
unit test target without rebuilding.

This is basically how I've set it up currently (pseudo-code):

[server Jamfile]

exe server ... ;

install bin : server : ... ;

[unit-test Jamfile]

unit-test footest
    : foo.cpp : <dependency>path-to-server-project//bin ;

/ Johan

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