Subject: Re: [boost] Adding a --log_level="message" runtime option to a Boost.test test-suite
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2011-10-14 12:42:48
> -----Original Message-----
> From: boost-bounces_at_[hidden] [mailto:boost-bounces_at_[hidden]] On Behalf Of Vicente J.
> Botet Escriba
> Sent: Friday, October 14, 2011 5:10 PM
> To: boost_at_[hidden]
> Subject: Re: [boost] Adding a --log_level="message" runtime option to a Boost.test test-suite
> Le 14/10/11 17:43, Paul A. Bristow a écrit :
> > Can anyone tell me how to add a --log_level="message" runtime option to a Boost.Test
> > Running using VS project I have a Custom Build Step command line
> > "$(TargetDir)$(TargetName).exe" --log_level="message"
> > I'd like to replicate this in a jamfile :
> > ...
> > test-suite "multiprecision EFX numerical test" :
> > [
> > run numerical_test.cpp
> > ]
> > ;
> > but adding --log_level="message" (and perhaps other Boost.test options as well).
> > (I want this for all compilers of course, so placing in compile options doesn't seem right.)
> > Suggestions most welcome.
> the syntax for run is
> rule run ( sources + : args * : input-files * : requirements * : target-name ?
> : default-build * )
> You can place your parameters as follows
> [ run numerical_test.cpp : --log_level="message" ]
Thanks, the sounds plausible but
test-suite "multiprecision EFX numerical test" :
... lots more .cpp files
fails with this message
error: at Jamfile.v2:55
error: Names of input files must be sorted alphabetically
error: due to internal limitations
and this is after I've reordered the files in what appears to me to be alphabetically (but I'm not
quite sure what that means - do the . and / count, or just the letters?)
Or have I got my syntax muddled (again)?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk