Boost logo

Boost-Build :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2005-06-20 18:58:48


kweeheong wrote:
> Hi,
>
> I hope this is the right forum to post this question.
>
> I can cd into a Boost project, and run ALL the tests of the
> project, like so :
> | cd h:\vault\boost\boost_1_32_0\libs\date_time\test
> | bjam -sTOOLS=gcc test
>
> How can I run just one test? ie bjam -sTOOLS=gcc <name of test>
>
> I am not able to find the name of the target test from the Jamfile.
> It seems to be derived from the run action.
[...]
> However, attempting to run bjam -sTOOLS=gcc testdate.exe does not run
> the testcase.

The testing framework sets up simple symbolic targets that you can use
to run specific tests. In the case above where the name of the test is
not explicitly defined in the test declaration, it uses the basename of
the test source file. Hence you would:

bjam -sTOOLS=gcc testdate

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - Grafik/jabber.org
 

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