
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 test-suite.
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.
Hi, 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" ] Best, Vicente