Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2003-12-26 13:08:09


Vladimir Prus <ghost_at_[hidden]> writes:

> David Abrahams wrote:
>> Vladimir Prus <ghost_at_[hidden]> writes:
>> > Hi, I seem to have problems with 'run' tests, using V1 regression system.
>> > When I clean all build directories, go to "libs/graph/test" and run
>> > "bjam", only a single "run" test is actually run.
>> >
>> > When I clean everything and run "bjam graph" from "status", much more
>> > tests are run.
>> >
>> > Is this a known issue? I've worked around it by adding Jamfile.v2 to
>> > graph/ test but probably fix for V1 is a good thing to have, too.
>>
>> Minor question: did you build the "test" target? If not, it's
>> likely that *none* of the tests should be executed.
>
> No, I did not build "test", I just run "bjam". I'm pretty sure it
> worked for me for a long time. Now it really does not run anything
> -- though I think it runned something on the previous try ...

That doesn't seem right to me. Note that status/Jamfile contains

# Make tests run by default.
DEPENDS all : test ;

in order to make this happen. We could use that in the each of the
libs/xxx/test/Jamfile's. The idea is that you should be able to
declare tests in a Jamfile without having them built by default.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com
 

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