Boost logo

Boost-Build :

Subject: Re: [Boost-build] Adding command line arguments to tests
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-11-17 04:27:28


Christian Auby wrote:

> Thanks, that seems to work. I wasn't too far off as I tried
> rule run tests/add.cpp : --log_format=XML --log_level=test_suite ;
>
> This doesn't produce any errors so I didn't know what was going on.

Oh, weird. To clarify, 'rule' is actually a function. So, 'run' is a
function, with specific parameters. You call that function, passing
appropriate parameters, and that function creates a metatarget.

With "rule ...", you'd define new function.

- Volodya


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