|
Boost-Build : |
From: kweeheong (tan.k.h_at_[hidden])
Date: 2005-06-20 18:41:10
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.
> cat Jamfile
| ...
| test-suite date_time_gregorian
| :
| [ run gregorian/testdate.cpp <lib>../build/boost_date_time : : :
$(DATE_TIME_PROPERTIES) ]
| ...
The transcript from the "bjam test" shows many actions like :
| MkDir1 ..\..\..\bin\boost\libs\date_time\test\testdate.test\gcc
| MkDir1 ..\..\..\bin\boost\libs\date_time\test\testdate.
test\gcc\debug
| gcc-C++-action ..\..\..\bin\boost\libs\date_time\test\testdate.
test\gcc\debug\testdate.obj
| gcc-Link-action ..\..\..\bin\boost\libs\date_time\test\testdate.
test\gcc\debug\testdate.exe
| execute-test ..\..\..\bin\boost\libs\date_time\test\testdate.
test\gcc\debug\testdate.run
| 1 file(s) copied.
| **passed** ..\..\..\bin\boost\libs\date_time\test\testdate.
test\gcc\debug\testdate.test
However, attempting to run bjam -sTOOLS=gcc testdate.exe does not run
the testcase.
Thanks,
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