Subject: Re: [Boost-build] command line arguments to unit-test
From: Phillip Seaver (phil_at_[hidden])
Date: 2009-03-27 13:30:35
groups queries wrote:
> A newb question.
> What is correct syntax to pass a command line parameter to a
> unit-test application?, in an example rule like this:
> unit-test test-app : test-app.cpp : <library>liba ;
> I tried, in vain:
> unit-test test-app : test-app.cpp : <library>liba : $(filename) ;
> Thanks in advance.
> - Vin -
Try using the "run" rule, which is documented on this page:
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