Boost logo

Boost-Build :

Subject: [Boost-build] Adding command line arguments to tests
From: Christian Auby (christian_at_[hidden])
Date: 2009-11-17 04:09:58

I'm trying to use boost.test with I need to pass
"--log_format=XML --log_level=test_suite" to the test to get XML that is

The first rule I tried was this:

unit-test add_test
   : tests/add.cpp

The test works fine but doesn't output XML. I then read on the mailing
list archives that I should use the run rule, as per:

rule run ( sources + : args * : input-files * : requirements * :
target-name ?
    : default-build * )

It is unclear to me how I would create my rule from this. Help is


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at