Boost logo

Boost-Build :

Subject: Re: [Boost-build] error: unknown feature "<preserve-test-targets>"
From: Min Wang (qiaorang_at_[hidden])
Date: 2009-01-24 11:46:17


Thanks Jürgen, It was actually
local rule run-test ( test-name : sources + : requirements * )
{
   requirements += <preserve-test-targets>on ;
   ...

I used html email and made this line bold. It turned out this format became
* instead ...

Anyway, looks like it was because my bjam version was too low. You suggested
>3.1.18. But isn't the 3.1.17 the current package release version? Or I have
to go to trunk anyway because this is a very new feature.

Thanks.

On Sat, Jan 24, 2009 at 10:39 AM, Juergen Hunold
<juergen.hunold_at_[hidden]>wrote:

> Hi !
>
>
> On Saturday 24 January 2009, Min Wang wrote:
> > Is the right way to use <preserve-test-targets>:
> > ...
> > local rule run-test ( test-name : sources + : requirements * )
> > {
> > *requirements += <preserve-test-targets>on ;*
>
>
> At least the "*" is wrong.
>
>
> I have this one in user-config.jam. The alternative would be Jamroot.
>
>
> > I got *error: unknown feature "<preserve-test-targets>" *when running
> > it.
> >
> > My enviroment is:
> > OS: Ubuntu 8.10
>
>
> Same here ;-))
>
>
> > BOOST-BUILD Version: 2.0-m12-2
> > BJAM Version: 3.1.16-1
>
>
> Those are _way_ too low.
> You need at least:
> Boost.Jam Version 3.1.18. OS=LINUX.
>
>
> This is trunk (works) here the current release branch.
>
>
> 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 !
>
>
>
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>
>



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