|
Boost-Build : |
From: Nicola Musatti (Nicola.Musatti_at_[hidden])
Date: 2008-06-17 03:52:12
Tavares, Pedro (London <pedro_tavares <at> ml.com> writes:
>
> Hi,
>
> Apologies if this is a trivial question but haven't been able to figure
> out a solution from the documentation yet: how do I compile unit tests
> for boost 1.35.0 (in bjam v2)?
In order to run unit tests for *all* of the libraries you need to run bjam from
the boost\status directory; to run tests for a single library you need to run
bjam from that library's test directory, boost\libs\<library>\test.
To get a nicely formatted result report you should proceed more or less as
follow (I have the exact details at home):
Apply the patch I recently posted to the Boost.Testing mailing list;
Run the following command sequence, replacing the correct values for <your
toolset> and <Boost root>:
bjam -a --v2 --dump-tests toolset=<your toolset> >bjam.log 2>&1
process_jam_log --v2 <bjam.log
compiler_status --v2 <Boost root> cs-win32-full.html cs-win32-links.html
Hope this helps.
Cheers,
Nicola Musatti
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