Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2003-01-05 13:33:42


Rene Rivera <grafik666_at_[hidden]> writes:

> [2003-01-05] Rene Rivera wrote:
>
>>[2003-01-05] David Abrahams wrote:
>>
>>>David Abrahams <dave_at_[hidden]> writes:
>>>
>>>> Beman Dawes <bdawes_at_[hidden]> writes:
>>>>
>>>>> Would it be possible to change the default for testing.jam runs to
>>"test"?
>>>>
>>>> I did it that way so that people could put tests and regular targets
>>>> in the same Jamfile, and tests would not be built by default. It can
>>>> easily be overridden by sticking
>>>>
>>>> DEPENDS all : test ;
>>>>
>>>> In the Jamfile.
>>>
>>>
>>>Done.
>>
>>And this change just bit me :-( It turns out the date_time library has
> tests
>>in its build/Jamfile. Which now get run, and built, when doing a top level
>>build.
>
> OK, never mind, it wasn't this change that caused the date_time tests to
> run. It's just that they are defined by the library :-( Perhaps someone
> should move those out of the regular build/Jamfile.

It shouldn't matter where they are. Test targets don't get built
unless explicitly requested.

-- 
David Abrahams
dave_at_[hidden] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution
 

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