Boost logo

Boost-Build :

Subject: [Boost-build] Idiom for running tests using (non-test) target?
From: Mat Marcus (mat-lists_at_[hidden])
Date: 2008-10-23 13:10:33


I use boost build to build a set of libraries and tools which use
those libraries. After tool "foo" is built, I'd like to run some tests
with it, as part of the build process. It would not be convenient to
use the run rule and --preserve-targets, since the tool "foo" is part
of the user distribution. Is there a good idiom for running tests, as
part of the build, with a "first class" build target? In case it
matters, this tool can be used as a translator, accepting files with
one extension and producing files with another.

Thanks,
Mat


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