Boost logo

Boost-Build :

From: Rene Rivera (grafik666_at_[hidden])
Date: 2003-01-05 13:42:14


[2003-01-05] David Abrahams wrote:

>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.

Found the problem. The date_time library is using "unit-test" rule to define
some test in it's build/Jamfile. It also adds some number of examples that
get built.

-- grafik - Don't Assume Anything
-- rrivera_at_[hidden] - grafik_at_[hidden]
-- 102708583_at_icq

 


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