Boost logo

Boost-Build :

Subject: Re: [Boost-build] Idiom for running tests using (non-test) target?
From: Juergen Hunold (juergen.hunold_at_[hidden])
Date: 2008-10-26 10:43:00


Hi Volodya !

On Sunday 26 October 2008 12:46:11 Vladimir Prus wrote:
> This is probably how it should have being in the first place. The
> --preserve-test-target is option, and not a property, only for
> compatibility with V1.

That makes +1 for removal ;-))

> But I'm not really sure if the default behaviour should be to remove test
> targets. For Boost testing, the scripts can very well pass the right
> option, and in general, test program are not likely to use very much space
> -- since shared linking is default in Boost.Build, and since object files
> are not being removed. Should we just flip the default?

Please :-))
I remember that there was a similar discussion in the last two years about
this.
I'd say: Wait for 1.37 release and then switch defaults after consulting with
the testing people. Some might want to delete targets. And it might be an
option to remove intermediate files (object files) too.
I'd like to keep the files around as it makes debugging some cases much easier.

Yours,

Jürgen

-- 
* Dipl.-Math. Jürgen Hunold       ! Ingenieurgesellschaft für 
* voice: ++49 511 262926 57       ! Verkehrs- und Eisenbahnwesen mbH  
* fax  : ++49 511 262926 99       ! Lister Straße 15
* juergen.hunold_at_[hidden]        ! www.ivembh.de
* 
* Geschäftsführer:                ! Sitz des Unternehmens: Hannover
* Prof. Dr.-Ing. Thomas Siefer    ! Amtsgericht Hannover, HRB 56965
* PD Dr.-Ing. Alfons Radtke       !

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